setuid.2: Add NOTES explaining 32-bit system calls added in Linux 2.4

This commit is contained in:
Michael Kerrisk 2010-11-22 08:49:59 +01:00
parent ee3b2c7697
commit dd09a14ed5
1 changed files with 10 additions and 0 deletions

View File

@ -105,6 +105,16 @@ If
.I uid
is different from the old effective UID, the process will
be forbidden from leaving core dumps.
The original Linux
.BR setuid ()
system call supported only 16-bit user IDs.
Subsequently, Linux 2.4 added
.BR setuid32 ()
supporting 32-bit IDs.
The glibc
.BR setuid ()
wrapper function transparently deals with the variation across kernel versions.
.SH "SEE ALSO"
.BR getuid (2),
.BR seteuid (2),