kern_mib.c (57163) | kern_mib.c (58755) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Mike Karels at Berkeley Software Design, Inc. 7 * 8 * Quite extensively rewritten by Poul-Henning Kamp of the FreeBSD --- 23 unchanged lines hidden (view full) --- 32 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 37 * SUCH DAMAGE. 38 * 39 * @(#)kern_sysctl.c 8.4 (Berkeley) 4/14/94 | 1/*- 2 * Copyright (c) 1982, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Mike Karels at Berkeley Software Design, Inc. 7 * 8 * Quite extensively rewritten by Poul-Henning Kamp of the FreeBSD --- 23 unchanged lines hidden (view full) --- 32 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 37 * SUCH DAMAGE. 38 * 39 * @(#)kern_sysctl.c 8.4 (Berkeley) 4/14/94 |
40 * $FreeBSD: head/sys/kern/kern_mib.c 57163 2000-02-12 13:41:56Z rwatson $ | 40 * $FreeBSD: head/sys/kern/kern_mib.c 58755 2000-03-28 18:06:49Z dillon $ |
41 */ 42 43#include <sys/param.h> 44#include <sys/kernel.h> 45#include <sys/systm.h> 46#include <sys/sysctl.h> 47#include <sys/proc.h> 48#include <sys/jail.h> | 41 */ 42 43#include <sys/param.h> 44#include <sys/kernel.h> 45#include <sys/systm.h> 46#include <sys/sysctl.h> 47#include <sys/proc.h> 48#include <sys/jail.h> |
49 50#if defined(SMP) | |
51#include <machine/smp.h> | 49#include <machine/smp.h> |
52#endif | |
53 54SYSCTL_NODE(, 0, sysctl, CTLFLAG_RW, 0, 55 "Sysctl internal magic"); 56SYSCTL_NODE(, CTL_KERN, kern, CTLFLAG_RW, 0, 57 "High kernel, proc, limits &c"); 58SYSCTL_NODE(, CTL_VM, vm, CTLFLAG_RW, 0, 59 "Virtual memory"); 60SYSCTL_NODE(, CTL_VFS, vfs, CTLFLAG_RW, 0, --- 191 unchanged lines hidden --- | 50 51SYSCTL_NODE(, 0, sysctl, CTLFLAG_RW, 0, 52 "Sysctl internal magic"); 53SYSCTL_NODE(, CTL_KERN, kern, CTLFLAG_RW, 0, 54 "High kernel, proc, limits &c"); 55SYSCTL_NODE(, CTL_VM, vm, CTLFLAG_RW, 0, 56 "Virtual memory"); 57SYSCTL_NODE(, CTL_VFS, vfs, CTLFLAG_RW, 0, --- 191 unchanged lines hidden --- |