summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/setuid.2
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-04-02 17:24:16 +0000
committerpeter <peter@FreeBSD.org>1997-04-02 17:24:16 +0000
commit54b1a6105b62951ddbd52b597a580cf3b6575923 (patch)
tree99f184238a03ecb3bcf0ef9ce2f90d2c3cca193d /lib/libc/sys/setuid.2
parent592271de9ab45def0266c4950d75cf975785f23e (diff)
downloadFreeBSD-src-54b1a6105b62951ddbd52b597a580cf3b6575923.zip
FreeBSD-src-54b1a6105b62951ddbd52b597a580cf3b6575923.tar.gz
Update to include details about the changes to setuid/setgid.
Diffstat (limited to 'lib/libc/sys/setuid.2')
-rw-r--r--lib/libc/sys/setuid.28
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/setuid.2 b/lib/libc/sys/setuid.2
index b1758fe..1f24fb0 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.9 1997/02/22 15:04:24 peter Exp $
+.\" $Id: setuid.2,v 1.10 1997/04/01 18:58:38 mpp Exp $
.\"
.Dd June 4, 1993
.Dt SETUID 2
@@ -73,6 +73,8 @@ The
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
+.\" Next line is for Appendix B.4.2.2 case.
+or the effective user ID
of the process, or if the effective user ID is that of the super user.
.Pp
The
@@ -95,6 +97,8 @@ The
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
+.\" Next line is for Appendix B.4.2.2 case.
+or the effective group ID
of the process, or if the effective user ID is that of the super user.
.Pp
The
@@ -138,7 +142,7 @@ specification with
.Li _POSIX_SAVED_IDS
.\" Uncomment next line for !_POSIX_SAVED_IDS
not
-defined.
+defined with the permitted extensions from Appendix B.4.2.2.
The
.Fn seteuid
and
OpenPOWER on IntegriCloud