1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

convert more sysctl variables.

This commit is contained in:
Poul-Henning Kamp 1995-11-10 09:58:53 +00:00
parent 81c945d6ab
commit 6ff1bbebdf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12187

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)kern_sysctl.c 8.4 (Berkeley) 4/14/94
* $Id: kern_sysctl.c,v 1.32 1995/11/08 08:46:01 phk Exp $
* $Id: kern_sysctl.c,v 1.33 1995/11/09 20:22:09 phk Exp $
*/
/*
@ -464,6 +464,8 @@ __sysctl(p, uap, retval)
uap->new, uap->newlen, retval));
}
static sysctlfn kern_sysctl;
/*
* This is used from various compatibility syscalls too. That's why name
* must be in kernel space.
@ -552,9 +554,6 @@ userland_sysctl(struct proc *p, int *name, u_int namelen, void *old, size_t *old
case CTL_FS:
fn = fs_sysctl;
break;
case CTL_MACHDEP:
fn = cpu_sysctl;
break;
#ifdef DEBUG
case CTL_DEBUG:
fn = debug_sysctl;