Also allow non-rot processes to setproctitle()
Submitted by: Paul Saab <paul@mu.org> Approved by: jkh
This commit is contained in:
parent
077777e0e4
commit
cb53db0883
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user