diff --git a/man2/setreuid.2 b/man2/setreuid.2 index 7e5613122..82681f186 100644 --- a/man2/setreuid.2 +++ b/man2/setreuid.2 @@ -40,7 +40,7 @@ .\" 2004-07-04 by aeb .\" 2004-05-27 by Michael Kerrisk .\" -.TH SETREUID 2 2010-09-20 "Linux" "Linux Programmer's Manual" +.TH SETREUID 2 2010-11-22 "Linux" "Linux Programmer's Manual" .SH NAME setreuid, setregid \- set real and/or effective user or group ID .SH SYNOPSIS @@ -138,6 +138,22 @@ across implementations. POSIX.1 makes no specification about the effect of these calls on the saved set-user-ID and saved set-group-ID. + +The original Linux +.BR setreuid () +and +.BR setregid () +system calls supported only 16-bit user and group IDs. +Subsequently, Linux 2.4 added +.BR setreuid32 () +and +.BR setregid32 (), +supporting 32-bit IDs. +The glibc +.BR setreuid () +and +.BR setregid () +wrapper functions transparently deal with the variations across kernel versions. .SH "SEE ALSO" .BR getgid (2), .BR getuid (2),