Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys note that setgid doesn't change supplementary g...



details:   https://anonhg.NetBSD.org/src/rev/689b870a499c
branches:  trunk
changeset: 535403:689b870a499c
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Aug 17 18:22:21 2002 +0000

description:
note that setgid doesn't change supplementary groupids.
from openbsd.

diffstat:

 lib/libc/sys/setuid.2 |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 9f4b63a4c95a -r 689b870a499c lib/libc/sys/setuid.2
--- a/lib/libc/sys/setuid.2     Sat Aug 17 17:52:54 2002 +0000
+++ b/lib/libc/sys/setuid.2     Sat Aug 17 18:22:21 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: setuid.2,v 1.12 2002/04/29 01:41:45 simonb Exp $
+.\"    $NetBSD: setuid.2,v 1.13 2002/08/17 18:22:21 yamt Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -33,7 +33,7 @@
 .\"
 .\"     @(#)setuid.2   8.1 (Berkeley) 6/4/93
 .\"
-.Dd June 4, 1993
+.Dd August 18, 2002
 .Dt SETUID 2
 .Os
 .Sh NAME
@@ -76,6 +76,7 @@
 .Fn setgid
 function is permitted if the specified ID is equal to the real group ID
 of the process, or if the effective user ID is that of the super user.
+Supplementary group IDs remain unchanged.
 .Pp
 The
 .Fn seteuid



Home | Main Index | Thread Index | Old Index