mirror of https://github.com/mkerrisk/man-pages
getuid.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
dd09a14ed5
commit
80978cba04
|
@ -23,7 +23,7 @@
|
|||
.\" the source, must acknowledge the copyright and authors of this work.
|
||||
.\"
|
||||
.\" Historical remark, aeb, 2004-06-05
|
||||
.TH GETUID 2 1993-07-23 "Linux" "Linux Programmer's Manual"
|
||||
.TH GETUID 2 2010-11-22 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
getuid, geteuid \- get user identity
|
||||
.SH SYNOPSIS
|
||||
|
@ -54,6 +54,22 @@ UNIX V7 introduced separate calls
|
|||
.BR getuid ()
|
||||
and
|
||||
.BR geteuid ().
|
||||
.SH NOTES
|
||||
The original Linux
|
||||
.BR getuid ()
|
||||
and
|
||||
.BR geteuid ()
|
||||
system calls supported only 16-bit user IDs.
|
||||
Subsequently, Linux 2.4 added
|
||||
.BR getuid32 ()
|
||||
and
|
||||
.BR geteuid32 (),
|
||||
supporting 32-bit IDs.
|
||||
The glibc
|
||||
.BR getuid ()
|
||||
and
|
||||
.BR geteuid ()
|
||||
wrapper functions transparently deal with the variations across kernel versions.
|
||||
.SH "SEE ALSO"
|
||||
.BR getresuid (2),
|
||||
.BR setreuid (2),
|
||||
|
|
Loading…
Reference in New Issue