Turn POSIX_SAVED_IDS off

This commit is contained in:
Andrey A. Chernov 1996-12-06 22:53:52 +00:00
parent d9b9984e23
commit fca321513e
1 changed files with 20 additions and 20 deletions

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)setuid.2 8.1 (Berkeley) 6/4/93
.\" $Id: setuid.2,v 1.4 1996/09/03 11:32:01 ache Exp $
.\" $Id: setuid.2,v 1.5 1996/12/02 20:03:49 wosch Exp $
.\"
.Dd June 4, 1993
.Dt SETUID 2
@ -60,19 +60,19 @@ sets the real and effective
user IDs and the saved set-user-ID of the current process
to the specified value.
.\" Comment out next block for !_POSIX_SAVED_IDS
The real user ID and the saved set-user-ID are changed only if the
effective user ID is that of the super user.
I.e.
.Fn setuid
function is equal to
.Fn seteuid
function if the effective user ID is not that of the super user.
.\" The real user ID and the saved set-user-ID are changed only if the
.\" effective user ID is that of the super user.
.\" I.e.
.\" .Fn setuid
.\" function is equal to
.\" .Fn seteuid
.\" function if the effective user ID is not that of the super user.
.\" End of block
The
.Fn setuid
function is permitted if the specified ID is equal to the real user ID
.\" Comment out next line for !_POSIX_SAVED_IDS
or the saved set-user-ID
.\" or the saved set-user-ID
of the process, or if the effective user ID is that of the super user.
.Pp
The
@ -82,19 +82,19 @@ sets the real and effective
group IDs and the saved set-group-ID of the current process
to the specified value.
.\" Comment out next block for !_POSIX_SAVED_IDS
The real group ID and the saved set-group-ID are changed only if the
effective user ID is that of the super user.
I.e.
.Fn setgid
function is equal to
.Fn setegid
function if the effective user ID is not that of the super user.
.\" The real group ID and the saved set-group-ID are changed only if the
.\" effective user ID is that of the super user.
.\" I.e.
.\" .Fn setgid
.\" function is equal to
.\" .Fn setegid
.\" function if the effective user ID is not that of the super user.
.\" End of block
The
.Fn setgid
function is permitted if the specified ID is equal to the real group ID
.\" Comment out next line for !_POSIX_SAVED_IDS
or the saved set-groupd-ID
.\" or the saved set-groupd-ID
of the process, or if the effective user ID is that of the super user.
.Pp
The
@ -134,7 +134,7 @@ functions are compliant with the
specification with
.Li _POSIX_SAVED_IDS
.\" Uncomment next line for !_POSIX_SAVED_IDS
.\" not
not
defined.
The
.Fn seteuid
@ -149,6 +149,6 @@ and have been proposed for a future revision of the standard.
A
.Fn setuid
and a
setgid
function call appeared in
.Fn setgid
function calls appeared in
.At v7 .