This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6865] fallback posix_fallocate() implementation is racy
- From: "bdonlan at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 2 Sep 2008 04:50:03 -0000
- Subject: [Bug libc/6865] fallback posix_fallocate() implementation is racy
- References: <20080902012819.6865.bdonlan@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From bdonlan at gmail dot com 2008-09-02 04:50 -------
In my opinion, the fallback implementation should not present a data loss
possibility - if this is unavoidable, it should return ENOSYS or something
instead, and let the application deal with the race condition, since it should
know what locks or other synchronization need be used.
Would you be open to applying a patch for a mmap-based implementation if I were
to provide it?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6865
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.