diff options
author | phk <phk@FreeBSD.org> | 2000-02-08 19:54:15 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-02-08 19:54:15 +0000 |
commit | cb53db0883011e601a65b7286b5b164cda74c5ce (patch) | |
tree | 0070b9469d13600fbe5cd7e549573ecdc554ef98 /sys/kern/kern_proc.c | |
parent | 077777e0e42b704ce04a592c53c8bcd7e57668b1 (diff) | |
download | FreeBSD-src-cb53db0883011e601a65b7286b5b164cda74c5ce.zip FreeBSD-src-cb53db0883011e601a65b7286b5b164cda74c5ce.tar.gz |
Also allow non-rot processes to setproctitle()
Submitted by: Paul Saab <paul@mu.org>
Approved by: jkh
Diffstat (limited to 'sys/kern/kern_proc.c')
-rw-r--r-- | sys/kern/kern_proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index 356282e..df9f1c5 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -683,5 +683,5 @@ SYSCTL_NODE(_kern_proc, KERN_PROC_RUID, ruid, CTLFLAG_RD, SYSCTL_NODE(_kern_proc, KERN_PROC_PID, pid, CTLFLAG_RD, sysctl_kern_proc, "Process table"); -SYSCTL_NODE(_kern_proc, KERN_PROC_ARGS, args, CTLFLAG_RW, - sysctl_kern_proc_args, "Return process argument"); +SYSCTL_NODE(_kern_proc, KERN_PROC_ARGS, args, CTLFLAG_RW | CTLFLAG_ANYBODY, + sysctl_kern_proc_args, "Process argument list"); |