aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2010-11-22 08:50:49 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2010-11-22 08:52:47 +0100
commitae67a2cdf3ee4e77774704370dec6f10a92e49c9 (patch)
tree00459dbfcbafd4fe56cac60333a9368cf8f0bc7c
parent80978cba040183cbb40ee725c2f7cabf50f51406 (diff)
downloadman-pages-ae67a2cdf3ee4e77774704370dec6f10a92e49c9.tar.gz
setfsuid.2: Add NOTES explaining 32-bit system calls added in Linux 2.4
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/setfsuid.212
1 files changed, 11 insertions, 1 deletions
diff --git a/man2/setfsuid.2 b/man2/setfsuid.2
index 737fc9cc12..f6ea56137d 100644
--- a/man2/setfsuid.2
+++ b/man2/setfsuid.2
@@ -26,7 +26,7 @@
.\" Modified, 27 May 2004, Michael Kerrisk <mtk.manpages@gmail.com>
.\" Added notes on capability requirements
.\"
-.TH SETFSUID 2 2008-12-05 "Linux" "Linux Programmer's Manual"
+.TH SETFSUID 2 2010-11-22 "Linux" "Linux Programmer's Manual"
.SH NAME
setfsuid \- set user identity used for file system checks
.SH SYNOPSIS
@@ -89,6 +89,16 @@ the system call.
Note that at the time this system call was introduced, a process
could send a signal to a process with the same effective user ID.
Today signal permission handling is slightly different.
+
+The original Linux
+.BR setfsuid ()
+system call supported only 16-bit user IDs.
+Subsequently, Linux 2.4 added
+.BR setfsuid32 ()
+supporting 32-bit IDs.
+The glibc
+.BR setfsuid ()
+wrapper function transparently deals with the variation across kernel versions.
.SH BUGS
No error messages of any kind are returned to the caller.
At the very