mirror of https://github.com/mkerrisk/man-pages
setuid.2: Add NOTES explaining 32-bit system calls added in Linux 2.4
This commit is contained in:
parent
ee3b2c7697
commit
dd09a14ed5
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue