setgid.2: Add NOTES explaining 32-bit system calls added in Linux 2.4

This commit is contained in:
Michael Kerrisk 2010-11-22 08:49:45 +01:00
parent 0f0b04f83d
commit 6dc1520bfb
1 changed files with 11 additions and 1 deletions

View File

@ -24,7 +24,7 @@
.\" Modified 1997-01-31 by Eric S. Raymond <esr@thyrsus.com>
.\" Modified 2002-03-09 by aeb
.\"
.TH SETGID 2 2009-10-17 "Linux" "Linux Programmer's Manual"
.TH SETGID 2 2010-11-22 "Linux" "Linux Programmer's Manual"
.SH NAME
setgid \- set group identity
.SH SYNOPSIS
@ -61,6 +61,16 @@ The calling process is not privileged (does not have the
.I gid
does not match the real group ID or saved set-group-ID of
the calling process.
.SH NOTES
The original Linux
.BR setgid ()
system call supported only 16-bit group IDs.
Subsequently, Linux 2.4 added
.BR setgid32 ()
supporting 32-bit IDs.
The glibc
.BR setgid ()
wrapper function transparently deals with the variation across kernel versions.
.SH "CONFORMING TO"
SVr4, POSIX.1-2001.
.SH "SEE ALSO"