mirror of https://github.com/mkerrisk/man-pages
setresuid.2: Add NOTES explaining 32-bit system calls added in Linux 2.4
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
ae67a2cdf3
commit
ea03a3acf0
|
@ -87,6 +87,22 @@ they also appear on HP-UX and some of the BSDs.
|
|||
Under HP-UX and FreeBSD, the prototype is found in
|
||||
.IR <unistd.h> .
|
||||
Under Linux the prototype is provided by glibc since version 2.3.2.
|
||||
|
||||
The original Linux
|
||||
.BR setresuid ()
|
||||
and
|
||||
.BR setresgid ()
|
||||
system calls supported only 16-bit user and group IDs.
|
||||
Subsequently, Linux 2.4 added
|
||||
.BR setresuid32 ()
|
||||
and
|
||||
.BR setresgid32 (),
|
||||
supporting 32-bit IDs.
|
||||
The glibc
|
||||
.BR setresuid ()
|
||||
and
|
||||
.BR setresgid ()
|
||||
wrapper functions transparently deal with the variations across kernel versions.
|
||||
.SH "SEE ALSO"
|
||||
.BR getresuid (2),
|
||||
.BR getuid (2),
|
||||
|
|
Loading…
Reference in New Issue