]> Savannah Git Hosting - gnulib.git/commitdiff
doc: more updates for glibc 2.32
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 7 Aug 2020 22:26:27 +0000 (15:26 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 7 Aug 2020 23:02:54 +0000 (16:02 -0700)
* doc/glibc-functions/lchmod.texi, doc/posix-functions/faccessat.texi:
* doc/posix-functions/fchmodat.texi: Update.

ChangeLog
doc/glibc-functions/lchmod.texi
doc/posix-functions/faccessat.texi
doc/posix-functions/fchmodat.texi

index 2d63ae286f121efd6556bd4e7c55ee62533d2122..73e2056958cb19666409294f036951f15daf3e56 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-08-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       doc: more updates for glibc 2.32
+       * doc/glibc-functions/lchmod.texi, doc/posix-functions/faccessat.texi:
+       * doc/posix-functions/fchmodat.texi: Update.
+
 2020-08-07  Bruno Haible  <bruno@clisp.org>
 
        doc: Update for glibc 2.32.
index d0ea7b995f100c2acc1091e042a36af79741916c..a85b38714c328a997eb0a252216feded7b1c6865 100644 (file)
@@ -15,9 +15,18 @@ HP-UX 11.31.
 @item
 This function always fails with @code{errno} set to @code{ENOSYS},
 even when the file is not a symbolic link:
-GNU/Linux with glibc 2.31 (or newer?).
+GNU/Linux with glibc 2.31.
 @end itemize
 
 Portability problems not fixed by Gnulib:
 @itemize
+@item
+Some platforms do not allow changing the access bits on symbolic
+links.
+
+@item
+This function can fail with @code{errno} set to @code{EMFILE} or @code{ENFILE},
+and it fails with @code{errno} set to @code{EOPNOTSUPP} if the
+@file{/proc} file system is not mounted:
+GNU/Linux with glibc 2.32.
 @end itemize
index a3c21cff0d2f9d3cb6bf03bdc60ad386635912bc..5d5165e47430a100d5152142b0a119f72d0ce4f7 100644 (file)
@@ -28,6 +28,12 @@ The replacement is not multithread-safe.
 @item
 The replacement does not support the @code{AT_SYMLINK_NOFOLLOW} flag,
 which is supported by GNU @code{faccessat}.
+@item
+On some platforms, @code{faccessat} can mishandle @code{AT_EACCESS}
+after a process starts as root and then becomes non-root:
+GNU/Linux with glibc 2.32.
+@c This bug should be fixed in glibc 2.33.  See:
+@c https://sourceware.org/bugzilla/show_bug.cgi?id=18683
 @end itemize
 
 Other problems of this function:
index d0cdeb08f87f5dbbecfa2aeaaccba5c50fa8e7c6..10821b63e5e4ad2df6f12842d74091c82072c89a 100644 (file)
@@ -17,7 +17,7 @@ But the replacement function is not safe to be used in libraries and is not mult
 When given the @code{AT_SYMLINK_NOFOLLOW} flag,
 this function fails with @code{errno} set to @code{ENOTSUP},
 even when the file is not a symbolic link:
-GNU/Linux with glibc 2.31 (or newer?), Cygwin 2.9.
+GNU/Linux with glibc 2.31, Cygwin 2.9.
 @end itemize
 
 Portability problems not fixed by Gnulib:
@@ -25,4 +25,11 @@ Portability problems not fixed by Gnulib:
 @item
 Some platforms do not allow changing the access bits on symbolic
 links.
+
+@item
+If the @code{AT_SYMLINK_NOFOLLOW} flag is specified,
+this function can fail with @code{errno} set to @code{EMFILE} or @code{ENFILE},
+and it fails with @code{errno} set to @code{EOPNOTSUPP} if the
+@file{/proc} file system is not mounted:
+GNU/Linux with glibc 2.32.
 @end itemize