mirror of https://github.com/mkerrisk/man-pages
getresuid.2: Add NOTES explaining 32-bit system calls added in Linux 2.4
This commit is contained in:
parent
7c36affc19
commit
62eaf126c7
|
@ -24,7 +24,7 @@
|
|||
.\" the source, must acknowledge the copyright and authors of this work.
|
||||
.\"
|
||||
.\" Modified, 2003-05-26, Michael Kerrisk, <mtk.manpages@gmail.com>
|
||||
.TH GETRESUID 2 2007-12-28 "Linux" "Linux Programmer's Manual"
|
||||
.TH GETRESUID 2 2010-11-22 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
getresuid, getresgid \- get real, effective and saved user/group IDs
|
||||
.SH SYNOPSIS
|
||||
|
@ -66,6 +66,22 @@ is defined.
|
|||
.SH "CONFORMING TO"
|
||||
These calls are nonstandard;
|
||||
they also appear on HP-UX and some of the BSDs.
|
||||
.SH NOTES
|
||||
The original Linux
|
||||
.BR getresuid ()
|
||||
and
|
||||
.BR getresgid ()
|
||||
system calls supported only 16-bit user and group IDs.
|
||||
Subsequently, Linux 2.4 added
|
||||
.BR getresuid32 ()
|
||||
and
|
||||
.BR getresgid32 (),
|
||||
supporting 32-bit IDs.
|
||||
The glibc
|
||||
.BR getresuid ()
|
||||
and
|
||||
.BR getresgid ()
|
||||
wrapper functions transparently deal with the variations across kernel versions.
|
||||
.SH "SEE ALSO"
|
||||
.BR getuid (2),
|
||||
.BR setresuid (2),
|
||||
|
|
Loading…
Reference in New Issue