This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/14578] fchmodat(..., AT_SYMLINK_NOFOLLOW) returns ENOTSUP on non-symlinks
- From: "joseph at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 13 Sep 2012 23:06:48 +0000
- Subject: [Bug libc/14578] fchmodat(..., AT_SYMLINK_NOFOLLOW) returns ENOTSUP on non-symlinks
- Auto-submitted: auto-generated
- References: <bug-14578-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14578
--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2012-09-13 23:06:48 UTC ---
I don't know if O_PATH will do the trick. If it does, what do kernels
before 2.6.39 (when O_PATH was introduced) do when O_PATH is used? (If
they just ignore it and open the file as if O_PATH were not present, then
we'd need to make sure not to try using O_PATH on older kernels, to avoid
any side-effects from opening device files, for example.)
--
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.