sysctl.h (261595) | sysctl.h (262489) |
---|---|
1/*- 2 * Copyright (c) 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 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * @(#)sysctl.h 8.1 (Berkeley) 6/2/93 | 1/*- 2 * Copyright (c) 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 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * @(#)sysctl.h 8.1 (Berkeley) 6/2/93 |
33 * $FreeBSD: head/sys/sys/sysctl.h 261595 2014-02-07 14:34:31Z glebius $ | 33 * $FreeBSD: head/sys/sys/sysctl.h 262489 2014-02-25 18:44:33Z jhb $ |
34 */ 35 36#ifndef _SYS_SYSCTL_H_ 37#define _SYS_SYSCTL_H_ 38 39#include <sys/queue.h> 40 41struct thread; --- 434 unchanged lines hidden (view full) --- 476#define CTL_VM 2 /* virtual memory */ 477#define CTL_VFS 3 /* filesystem, mount type is next */ 478#define CTL_NET 4 /* network, see socket.h */ 479#define CTL_DEBUG 5 /* debugging parameters */ 480#define CTL_HW 6 /* generic cpu/io */ 481#define CTL_MACHDEP 7 /* machine dependent */ 482#define CTL_USER 8 /* user-level */ 483#define CTL_P1003_1B 9 /* POSIX 1003.1B */ | 34 */ 35 36#ifndef _SYS_SYSCTL_H_ 37#define _SYS_SYSCTL_H_ 38 39#include <sys/queue.h> 40 41struct thread; --- 434 unchanged lines hidden (view full) --- 476#define CTL_VM 2 /* virtual memory */ 477#define CTL_VFS 3 /* filesystem, mount type is next */ 478#define CTL_NET 4 /* network, see socket.h */ 479#define CTL_DEBUG 5 /* debugging parameters */ 480#define CTL_HW 6 /* generic cpu/io */ 481#define CTL_MACHDEP 7 /* machine dependent */ 482#define CTL_USER 8 /* user-level */ 483#define CTL_P1003_1B 9 /* POSIX 1003.1B */ |
484#define CTL_MAXID 10 /* number of valid top-level ids */ | |
485 486/* 487 * CTL_KERN identifiers 488 */ 489#define KERN_OSTYPE 1 /* string: system version */ 490#define KERN_OSRELEASE 2 /* string: system release */ 491#define KERN_OSREV 3 /* int: system revision */ 492#define KERN_VERSION 4 /* string: compile time info */ --- 25 unchanged lines hidden (view full) --- 518#define KERN_IPC 30 /* node: anything related to IPC */ 519#define KERN_DUMMY 31 /* unused */ 520#define KERN_PS_STRINGS 32 /* int: address of PS_STRINGS */ 521#define KERN_USRSTACK 33 /* int: address of USRSTACK */ 522#define KERN_LOGSIGEXIT 34 /* int: do we log sigexit procs? */ 523#define KERN_IOV_MAX 35 /* int: value of UIO_MAXIOV */ 524#define KERN_HOSTUUID 36 /* string: host UUID identifier */ 525#define KERN_ARND 37 /* int: from arc4rand() */ | 484 485/* 486 * CTL_KERN identifiers 487 */ 488#define KERN_OSTYPE 1 /* string: system version */ 489#define KERN_OSRELEASE 2 /* string: system release */ 490#define KERN_OSREV 3 /* int: system revision */ 491#define KERN_VERSION 4 /* string: compile time info */ --- 25 unchanged lines hidden (view full) --- 517#define KERN_IPC 30 /* node: anything related to IPC */ 518#define KERN_DUMMY 31 /* unused */ 519#define KERN_PS_STRINGS 32 /* int: address of PS_STRINGS */ 520#define KERN_USRSTACK 33 /* int: address of USRSTACK */ 521#define KERN_LOGSIGEXIT 34 /* int: do we log sigexit procs? */ 522#define KERN_IOV_MAX 35 /* int: value of UIO_MAXIOV */ 523#define KERN_HOSTUUID 36 /* string: host UUID identifier */ 524#define KERN_ARND 37 /* int: from arc4rand() */ |
526#define KERN_MAXID 38 /* number of valid kern ids */ | |
527/* 528 * KERN_PROC subtypes 529 */ 530#define KERN_PROC_ALL 0 /* everything */ 531#define KERN_PROC_PID 1 /* by process id */ 532#define KERN_PROC_PGRP 2 /* by process group id */ 533#define KERN_PROC_SESSION 3 /* by session of pid */ 534#define KERN_PROC_TTY 4 /* by controlling tty */ --- 45 unchanged lines hidden (view full) --- 580#define HW_PHYSMEM 5 /* int: total memory */ 581#define HW_USERMEM 6 /* int: non-kernel memory */ 582#define HW_PAGESIZE 7 /* int: software page size */ 583#define HW_DISKNAMES 8 /* strings: disk drive names */ 584#define HW_DISKSTATS 9 /* struct: diskstats[] */ 585#define HW_FLOATINGPT 10 /* int: has HW floating point? */ 586#define HW_MACHINE_ARCH 11 /* string: machine architecture */ 587#define HW_REALMEM 12 /* int: 'real' memory */ | 525/* 526 * KERN_PROC subtypes 527 */ 528#define KERN_PROC_ALL 0 /* everything */ 529#define KERN_PROC_PID 1 /* by process id */ 530#define KERN_PROC_PGRP 2 /* by process group id */ 531#define KERN_PROC_SESSION 3 /* by session of pid */ 532#define KERN_PROC_TTY 4 /* by controlling tty */ --- 45 unchanged lines hidden (view full) --- 578#define HW_PHYSMEM 5 /* int: total memory */ 579#define HW_USERMEM 6 /* int: non-kernel memory */ 580#define HW_PAGESIZE 7 /* int: software page size */ 581#define HW_DISKNAMES 8 /* strings: disk drive names */ 582#define HW_DISKSTATS 9 /* struct: diskstats[] */ 583#define HW_FLOATINGPT 10 /* int: has HW floating point? */ 584#define HW_MACHINE_ARCH 11 /* string: machine architecture */ 585#define HW_REALMEM 12 /* int: 'real' memory */ |
588#define HW_MAXID 13 /* number of valid hw ids */ | |
589 590/* 591 * CTL_USER definitions 592 */ 593#define USER_CS_PATH 1 /* string: _CS_PATH */ 594#define USER_BC_BASE_MAX 2 /* int: BC_BASE_MAX */ 595#define USER_BC_DIM_MAX 3 /* int: BC_DIM_MAX */ 596#define USER_BC_SCALE_MAX 4 /* int: BC_SCALE_MAX */ --- 8 unchanged lines hidden (view full) --- 605#define USER_POSIX2_CHAR_TERM 13 /* int: POSIX2_CHAR_TERM */ 606#define USER_POSIX2_FORT_DEV 14 /* int: POSIX2_FORT_DEV */ 607#define USER_POSIX2_FORT_RUN 15 /* int: POSIX2_FORT_RUN */ 608#define USER_POSIX2_LOCALEDEF 16 /* int: POSIX2_LOCALEDEF */ 609#define USER_POSIX2_SW_DEV 17 /* int: POSIX2_SW_DEV */ 610#define USER_POSIX2_UPE 18 /* int: POSIX2_UPE */ 611#define USER_STREAM_MAX 19 /* int: POSIX2_STREAM_MAX */ 612#define USER_TZNAME_MAX 20 /* int: POSIX2_TZNAME_MAX */ | 586 587/* 588 * CTL_USER definitions 589 */ 590#define USER_CS_PATH 1 /* string: _CS_PATH */ 591#define USER_BC_BASE_MAX 2 /* int: BC_BASE_MAX */ 592#define USER_BC_DIM_MAX 3 /* int: BC_DIM_MAX */ 593#define USER_BC_SCALE_MAX 4 /* int: BC_SCALE_MAX */ --- 8 unchanged lines hidden (view full) --- 602#define USER_POSIX2_CHAR_TERM 13 /* int: POSIX2_CHAR_TERM */ 603#define USER_POSIX2_FORT_DEV 14 /* int: POSIX2_FORT_DEV */ 604#define USER_POSIX2_FORT_RUN 15 /* int: POSIX2_FORT_RUN */ 605#define USER_POSIX2_LOCALEDEF 16 /* int: POSIX2_LOCALEDEF */ 606#define USER_POSIX2_SW_DEV 17 /* int: POSIX2_SW_DEV */ 607#define USER_POSIX2_UPE 18 /* int: POSIX2_UPE */ 608#define USER_STREAM_MAX 19 /* int: POSIX2_STREAM_MAX */ 609#define USER_TZNAME_MAX 20 /* int: POSIX2_TZNAME_MAX */ |
613#define USER_MAXID 21 /* number of valid user ids */ | |
614 615#define CTL_P1003_1B_ASYNCHRONOUS_IO 1 /* boolean */ 616#define CTL_P1003_1B_MAPPED_FILES 2 /* boolean */ 617#define CTL_P1003_1B_MEMLOCK 3 /* boolean */ 618#define CTL_P1003_1B_MEMLOCK_RANGE 4 /* boolean */ 619#define CTL_P1003_1B_MEMORY_PROTECTION 5 /* boolean */ 620#define CTL_P1003_1B_MESSAGE_PASSING 6 /* boolean */ 621#define CTL_P1003_1B_PRIORITIZED_IO 7 /* boolean */ --- 107 unchanged lines hidden --- | 610 611#define CTL_P1003_1B_ASYNCHRONOUS_IO 1 /* boolean */ 612#define CTL_P1003_1B_MAPPED_FILES 2 /* boolean */ 613#define CTL_P1003_1B_MEMLOCK 3 /* boolean */ 614#define CTL_P1003_1B_MEMLOCK_RANGE 4 /* boolean */ 615#define CTL_P1003_1B_MEMORY_PROTECTION 5 /* boolean */ 616#define CTL_P1003_1B_MESSAGE_PASSING 6 /* boolean */ 617#define CTL_P1003_1B_PRIORITIZED_IO 7 /* boolean */ --- 107 unchanged lines hidden --- |