aboutsummaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-02-28 12:03:03 +0000
committerBruce Evans <bde@FreeBSD.org>1997-02-28 12:03:03 +0000
commite924648f8c96fdddfba4253c0a848fa6b96b8fbb (patch)
tree638e1f3fa6ca502cd57cffc6430c7f5aaee7a61d /lib/libc
parent0dffd04e0ea2de539e01aebfe83bc6b782aa87d3 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/setuid.244
1 files changed, 22 insertions, 22 deletions
diff --git a/lib/libc/sys/setuid.2 b/lib/libc/sys/setuid.2
index 14a19d2f0bbb..c0c154a517c1 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.2.1 1996/12/03 15:37:52 phk Exp $
+.\" $Id: setuid.2,v 1.4.2.3 1996/12/10 23:56:02 joerg 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
@@ -122,8 +122,8 @@ If the user is not the super user, or the uid
specified is not the real, effective ID, or saved ID,
these functions return \-1.
.Sh SEE ALSO
-.Xr getuid 2 ,
-.Xr getgid 2
+.Xr getgid 2 ,
+.Xr getuid 2
.Sh STANDARDS
The
.Fn setuid
@@ -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 .