This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15361] aio_fsync() should not check file descriptor for "open for writing" mode and return EBADF
- From: "roche+kml2 at exalead dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 12 Apr 2013 05:25:08 +0000
- Subject: [Bug libc/15361] aio_fsync() should not check file descriptor for "open for writing" mode and return EBADF
- Auto-submitted: auto-generated
- References: <bug-15361-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15361
--- Comment #1 from Xavier Roche <roche+kml2 at exalead dot com> 2013-04-12 05:25:08 UTC ---
Created attachment 6977
--> http://sourceware.org/bugzilla/attachment.cgi?id=6977
Suggested patch for sysdeps/pthread/aio_fsync.c
This is a suggested patch for the sysdeps/pthread/aio_fsync.c file. It just
replaces the O_RDONLY flag check by a F_GETFL fd check (to ensure the file
descriptor is valid) to accommodate the new specification.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.