aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-07-02 00:15:24 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-07-02 00:15:24 +0200
commit659cc17f4fb852961c0fa72fbd3dcff178a9d1d5 (patch)
tree5db840394d0385f0ecc1b5511a59bd42ffe7cf14
parentdc439d82cb9eb61b763ccef22e408fb9f2b53034 (diff)
downloadman-pages-659cc17f4fb852961c0fa72fbd3dcff178a9d1d5.tar.gz
setfsgid.2, setfsuid.2: Note which glibc version stopped checking for truncation of the argument
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/setfsgid.23
-rw-r--r--man2/setfsuid.23
2 files changed, 4 insertions, 2 deletions
diff --git a/man2/setfsgid.2 b/man2/setfsgid.2
index 138383491b..9b77d253a4 100644
--- a/man2/setfsgid.2
+++ b/man2/setfsgid.2
@@ -98,7 +98,8 @@ The glibc
.BR setfsgid ()
wrapper function transparently deals with the variation across kernel versions.
.SS C library/kernel differences
-When old versions of glibc determine that the argument can not be
+In glibc 2.15 and earlier,
+when the wrapper for this system call determines that the argument can't be
passed to the kernel without integer truncation (because the kernel
is old and does not support 32-bit group IDs),
they will return \-1 and set \fIerrno\fP to
diff --git a/man2/setfsuid.2 b/man2/setfsuid.2
index 4e00b5f866..447381fa6a 100644
--- a/man2/setfsuid.2
+++ b/man2/setfsuid.2
@@ -106,7 +106,8 @@ The glibc
.BR setfsuid ()
wrapper function transparently deals with the variation across kernel versions.
.SS C library/kernel differences
-When old versions of glibc determine that the argument can not be
+In glibc 2.15 and earlier,
+when the wrapper for this system call determines that the argument can't be
passed to the kernel without integer truncation (because the kernel
is old and does not support 32-bit user IDs),
they will return \-1 and set \fIerrno\fP to