summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2002-06-27 19:01:12 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2002-06-27 19:01:12 +0000
commitf576c1fdbc81379456dfb7a6c5e5e9b6b5e928a4 (patch)
tree676b40aaed0a1d968441efed06ab60a882056be6 /lib/libc/sys
parent1a1faaec759505d97b1cea10e3c654a12fe1da40 (diff)
note Supplementary group IDs remain unchanged; ok deraadt@ tholo@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/setuid.26
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/sys/setuid.2 b/lib/libc/sys/setuid.2
index eadd8643979..45f2ea6a64d 100644
--- a/lib/libc/sys/setuid.2
+++ b/lib/libc/sys/setuid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setuid.2,v 1.11 2002/01/24 21:18:36 mickey Exp $
+.\" $OpenBSD: setuid.2,v 1.12 2002/06/27 19:01:11 stevesk Exp $
.\" $NetBSD: setuid.2,v 1.3 1995/02/27 12:37:06 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -78,6 +78,7 @@ or if the specified group ID is the same as the effective group ID.
If not, but the specified group ID is the same as the real group ID,
.Fn setgid
will set the effective group ID to the real group ID.
+Supplementary group IDs remain unchanged.
.Pp
The
.Fn seteuid
@@ -104,7 +105,8 @@ these functions return \-1.
.Sh SEE ALSO
.Xr getgid 2 ,
.Xr getuid 2 ,
-.Xr issetugid 2
+.Xr issetugid 2 ,
+.Xr setgroups 2
A
.Fn setuid
function appeared in