summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstevesk <stevesk@openbsd.org>2002-06-27 19:01:11 +0000
committerstevesk <stevesk@openbsd.org>2002-06-27 19:01:11 +0000
commit912d8fdb981cd6cd602e00bf1dfa85c39419a2f8 (patch)
tree5d9f6a359683f28cef4f5c608eb6a1ac7f707616
parentmissing parenthesis in this macro. (diff)
downloadwireguard-openbsd-912d8fdb981cd6cd602e00bf1dfa85c39419a2f8.tar.xz
wireguard-openbsd-912d8fdb981cd6cd602e00bf1dfa85c39419a2f8.zip
note Supplementary group IDs remain unchanged; ok deraadt@ tholo@
-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