summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-01-20 09:30:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-01-20 09:30:03 +0000
commit455923755aa0b6dbac11b1e4285b0cb8c2f8e08d (patch)
tree07f101cc4767b76476209510deecf1051f0dcaca /sys
parentc8c2af36c9ceb7b08b235c861248778d8da995b3 (diff)
set[ug]id, not just setuid
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_exec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index 536cdb3aea6..fcecbd08f70 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_exec.c,v 1.36 2000/01/20 01:16:50 deraadt Exp $ */
+/* $OpenBSD: kern_exec.c,v 1.37 2000/01/20 09:30:02 deraadt Exp $ */
/* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */
/*-
@@ -506,8 +506,8 @@ sys_execve(p, v, retval)
p->p_flag |= P_SUGIDEXEC;
/*
- * For setuid processes, a few caveats apply to stdin, stdout,
- * and stderr.
+ * For set[ug]id processes, a few caveats apply to
+ * stdin, stdout, and stderr.
*/
for (i = 0; i < 3; i++) {
struct file *fp = NULL;