[Rpm-maint] [rpm-software-management/rpm] Add macro to force fsync() on close() (#187)

Jeff Johnson notifications at github.com
Wed Apr 5 07:52:20 UTC 2017

Hmmm ... glibc  (which uses mmap(2) for stdio if requested) would benefit from being able to mark the stdio buffer-in-use with *_DONTNEED using madvise/posix_fadvise.

At a minimum, cvtfmode() in rpmio/rpmio.c would need to be extended to pass the glibc-peculier 'm' flag through to fopen(3) .... ah "info libc" indicates mmap(2) is permitted only for input files, never mind.

Note that rpmio/rpmio.c cvtfmode() likely should be modified to pass all the glibc-peculier flags through to fopen(3): 'c', 'e', 'm', 'x' (see "info libc" and search for "open"). todo++ @rpm5.org

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170405/1e65e435/attachment-0001.html>

More information about the Rpm-maint mailing list