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:
Pawel Jakub Dawidek 2004-04-01 00:10:45 +00:00
parent 5e2c0c0b0e
commit 2fc0588da2
2 changed files with 0 additions and 4 deletions

View File

@ -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)
{

View File

@ -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);