.\" <richard@greenend.org.uk>, aeb 970616.
.\" Modified, 27 May 2004, Michael Kerrisk <mtk.manpages@gmail.com>
.\" Added notes on capability requirements
-.TH SETUID 2 2010-02-21 "Linux" "Linux Programmer's Manual"
+.TH SETUID 2 2010-11-22 "Linux" "Linux Programmer's Manual"
.SH NAME
setuid \- set user identity
.SH SYNOPSIS
sets all of the real, saved, and effective user IDs.
.\" SVr4 documents an additional EINVAL error condition.
.SH NOTES
-.SS Linux Notes
-Linux has the concept of file system user ID, normally equal to the
+Linux has the concept of the file system user ID, normally equal to the
effective user ID.
The
.BR setuid ()
.PP
If
.I uid
-is different from the old effective uid, the process will
+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),