summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-02-18 00:16:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-02-18 00:16:10 +0000
commitf27a0609f64aa75de846569ef7f4593e1bb3bf75 (patch)
tree3e3ef45cd3b6a03045494db25f814adc1d6a4c23 /lib
parent568c6f6c515a3f50f296a09737709ead913c740c (diff)
if a P_SUGIDEXEC proc execve()'s a non-set[ug]id program while running
with uid/gid mismatches, P_SUGIDEXEC should persist (in case the environment has not been cleaned). pointed out by wietse@porcupine.org
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/issetugid.25
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/sys/issetugid.2 b/lib/libc/sys/issetugid.2
index 73fa737529b..aca73d10e16 100644
--- a/lib/libc/sys/issetugid.2
+++ b/lib/libc/sys/issetugid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: issetugid.2,v 1.6 1997/02/05 22:56:43 deraadt Exp $
+.\" $OpenBSD: issetugid.2,v 1.7 1997/02/18 00:16:09 deraadt Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -65,7 +65,8 @@ the specified file.
.Pp
.Fn issetugid
is unaffected by calls to
-.Fn setuid
+.Fn setuid ,
+.Fn fork ,
and other such calls. It is only controlled by
.Fn execve .
.Sh ERRORS