summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/setuid.2
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1996-12-06 22:53:52 +0000
committerache <ache@FreeBSD.org>1996-12-06 22:53:52 +0000
commitbf67909b4b341926d7247f72f9e14f427acccaeb (patch)
tree031d96482bd9991f3703a3275a311271a5768356 /lib/libc/sys/setuid.2
parentd445501c00d82a69cb3efb4d1787b4aaa6eba379 (diff)
downloadFreeBSD-src-bf67909b4b341926d7247f72f9e14f427acccaeb.zip
FreeBSD-src-bf67909b4b341926d7247f72f9e14f427acccaeb.tar.gz
Turn POSIX_SAVED_IDS off
Diffstat (limited to 'lib/libc/sys/setuid.2')
-rw-r--r--lib/libc/sys/setuid.240
1 files changed, 20 insertions, 20 deletions
diff --git a/lib/libc/sys/setuid.2 b/lib/libc/sys/setuid.2
index 959e37e..1eb25c5 100644
--- a/lib/libc/sys/setuid.2
+++ b/lib/libc/sys/setuid.2
@@ -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 .
OpenPOWER on IntegriCloud