summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-08-07 15:26:27 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2020-08-07 16:02:54 -0700
commitbff5e7a51f72a9d6c27cd34662d05c6d3434aeab (patch)
tree3ae587314c89b7f24d0293616866337c3b07ab5e /doc
parenta782d567d90dc8c8535562adc748443ce7d5f2fa (diff)
downloadgnulib-bff5e7a51f72a9d6c27cd34662d05c6d3434aeab.tar.gz
doc: more updates for glibc 2.32
* doc/glibc-functions/lchmod.texi, doc/posix-functions/faccessat.texi: * doc/posix-functions/fchmodat.texi: Update.
Diffstat (limited to 'doc')
-rw-r--r--doc/glibc-functions/lchmod.texi11
-rw-r--r--doc/posix-functions/faccessat.texi6
-rw-r--r--doc/posix-functions/fchmodat.texi9
3 files changed, 24 insertions, 2 deletions
diff --git a/doc/glibc-functions/lchmod.texi b/doc/glibc-functions/lchmod.texi
index d0ea7b995f..a85b38714c 100644
--- a/doc/glibc-functions/lchmod.texi
+++ b/doc/glibc-functions/lchmod.texi
@@ -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
diff --git a/doc/posix-functions/faccessat.texi b/doc/posix-functions/faccessat.texi
index a3c21cff0d..5d5165e474 100644
--- a/doc/posix-functions/faccessat.texi
+++ b/doc/posix-functions/faccessat.texi
@@ -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:
diff --git a/doc/posix-functions/fchmodat.texi b/doc/posix-functions/fchmodat.texi
index d0cdeb08f8..10821b63e5 100644
--- a/doc/posix-functions/fchmodat.texi
+++ b/doc/posix-functions/fchmodat.texi
@@ -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