From cda068b39a4f3a94ab216cf91b40345277e134c1 Mon Sep 17 00:00:00 2001 From: pjd Date: Thu, 1 Apr 2004 00:10:45 +0000 Subject: Remove sysctl kern.ps_argsopen, it is not very useful, one should use security.bsd.see_other_uids instead. Discussed with: phk, rwatson --- sys/kern/kern_exec.c | 3 --- sys/sys/proc.h | 1 - 2 files changed, 4 deletions(-) diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index d9f7449..983e67e 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -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) { diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 71538af..81fc1b9 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -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); -- cgit v1.1