summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2000-01-20 09:30:02 +0000
committerderaadt <deraadt@openbsd.org>2000-01-20 09:30:02 +0000
commitbba8c139edb56961484dc345c4fb5322db569ed4 (patch)
treef08e28324db35cbf9c09a8c0bb2163864aaa6bd1 /sys/kern/kern_exec.c
parentDefault value for -s option is ARG_MAX - 4096, not - 2048; enami (diff)
downloadwireguard-openbsd-bba8c139edb56961484dc345c4fb5322db569ed4.tar.xz
wireguard-openbsd-bba8c139edb56961484dc345c4fb5322db569ed4.zip
set[ug]id, not just setuid
Diffstat (limited to 'sys/kern/kern_exec.c')
-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;