diff options
author | pjd <pjd@FreeBSD.org> | 2004-04-01 00:10:45 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-04-01 00:10:45 +0000 |
commit | cda068b39a4f3a94ab216cf91b40345277e134c1 (patch) | |
tree | b68e6cc17117a447a4b04f474de6feb1e365bd68 | |
parent | a8489e86d9f2ae6eedbe1ba660d4819b227fe103 (diff) | |
download | FreeBSD-src-cda068b39a4f3a94ab216cf91b40345277e134c1.zip FreeBSD-src-cda068b39a4f3a94ab216cf91b40345277e134c1.tar.gz |
Remove sysctl kern.ps_argsopen, it is not very useful, one should use
security.bsd.see_other_uids instead.
Discussed with: phk, rwatson
-rw-r--r-- | sys/kern/kern_exec.c | 3 | ||||
-rw-r--r-- | sys/sys/proc.h | 1 |
2 files changed, 0 insertions, 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); |