Remove sysctl kern.ps_argsopen, it is not very useful, one should use
security.bsd.see_other_uids instead. Discussed with: phk, rwatson
This commit is contained in:
parent
5e2c0c0b0e
commit
2fc0588da2
@ -95,9 +95,6 @@ u_long ps_arg_cache_limit = PAGE_SIZE / 16;
|
||||
SYSCTL_ULONG(_kern, OID_AUTO, ps_arg_cache_limit, CTLFLAG_RW,
|
||||
&ps_arg_cache_limit, 0, "");
|
||||
|
||||
int ps_argsopen = 1;
|
||||
SYSCTL_INT(_kern, OID_AUTO, ps_argsopen, CTLFLAG_RW, &ps_argsopen, 0, "");
|
||||
|
||||
static int
|
||||
sysctl_kern_ps_strings(SYSCTL_HANDLER_ARGS)
|
||||
{
|
||||
|
@ -806,7 +806,6 @@ extern int hogticks; /* Limit on kernel cpu hogs. */
|
||||
extern int nprocs, maxproc; /* Current and max number of procs. */
|
||||
extern int maxprocperuid; /* Max procs per uid. */
|
||||
extern u_long ps_arg_cache_limit;
|
||||
extern int ps_argsopen;
|
||||
extern int sched_quantum; /* Scheduling quantum in ticks. */
|
||||
|
||||
LIST_HEAD(proclist, proc);
|
||||
|
Loading…
Reference in New Issue
Block a user