Deleted Added
full compact
sysctl.h (1952) sysctl.h (2004)
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

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)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

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)sysctl.h 8.1 (Berkeley) 6/2/93
37 * $Id: sysctl.h,v 1.3 1994/08/08 00:30:12 wollman Exp $
37 * $Id: sysctl.h,v 1.4 1994/08/08 15:41:08 wollman Exp $
38 */
39
40#ifndef _SYS_SYSCTL_H_
41#define _SYS_SYSCTL_H_
42
43/*
44 * These are for the eproc structure defined below.
45 */

--- 79 unchanged lines hidden (view full) ---

125#define KERN_PROF 16 /* node: kernel profiling info */
126#define KERN_POSIX1 17 /* int: POSIX.1 version */
127#define KERN_NGROUPS 18 /* int: # of supplemental group ids */
128#define KERN_JOB_CONTROL 19 /* int: is job control available */
129#define KERN_SAVED_IDS 20 /* int: saved set-user/group-ID */
130#define KERN_BOOTTIME 21 /* struct: time kernel was booted */
131#define KERN_DOMAINNAME 22 /* string: YP domain name */
132#define KERN_UPDATEINTERVAL 23 /* int: update process sleep time */
38 */
39
40#ifndef _SYS_SYSCTL_H_
41#define _SYS_SYSCTL_H_
42
43/*
44 * These are for the eproc structure defined below.
45 */

--- 79 unchanged lines hidden (view full) ---

125#define KERN_PROF 16 /* node: kernel profiling info */
126#define KERN_POSIX1 17 /* int: POSIX.1 version */
127#define KERN_NGROUPS 18 /* int: # of supplemental group ids */
128#define KERN_JOB_CONTROL 19 /* int: is job control available */
129#define KERN_SAVED_IDS 20 /* int: saved set-user/group-ID */
130#define KERN_BOOTTIME 21 /* struct: time kernel was booted */
131#define KERN_DOMAINNAME 22 /* string: YP domain name */
132#define KERN_UPDATEINTERVAL 23 /* int: update process sleep time */
133#define KERN_MAXID 24 /* number of valid kern ids */
133#define KERN_OSRELDATE 24 /* int: OS release date */
134#define KERN_MAXID 25 /* number of valid kern ids */
134
135#define CTL_KERN_NAMES { \
136 { 0, 0 }, \
137 { "ostype", CTLTYPE_STRING }, \
138 { "osrelease", CTLTYPE_STRING }, \
139 { "osrevision", CTLTYPE_INT }, \
140 { "version", CTLTYPE_STRING }, \
141 { "maxvnodes", CTLTYPE_INT }, \

--- 10 unchanged lines hidden (view full) ---

152 { "profiling", CTLTYPE_NODE }, \
153 { "posix1version", CTLTYPE_INT }, \
154 { "ngroups", CTLTYPE_INT }, \
155 { "job_control", CTLTYPE_INT }, \
156 { "saved_ids", CTLTYPE_INT }, \
157 { "boottime", CTLTYPE_STRUCT }, \
158 { "domainname", CTLTYPE_STRING }, \
159 { "update", CTLTYPE_INT }, \
135
136#define CTL_KERN_NAMES { \
137 { 0, 0 }, \
138 { "ostype", CTLTYPE_STRING }, \
139 { "osrelease", CTLTYPE_STRING }, \
140 { "osrevision", CTLTYPE_INT }, \
141 { "version", CTLTYPE_STRING }, \
142 { "maxvnodes", CTLTYPE_INT }, \

--- 10 unchanged lines hidden (view full) ---

153 { "profiling", CTLTYPE_NODE }, \
154 { "posix1version", CTLTYPE_INT }, \
155 { "ngroups", CTLTYPE_INT }, \
156 { "job_control", CTLTYPE_INT }, \
157 { "saved_ids", CTLTYPE_INT }, \
158 { "boottime", CTLTYPE_STRUCT }, \
159 { "domainname", CTLTYPE_STRING }, \
160 { "update", CTLTYPE_INT }, \
161 { "osreldate", CTLTYPE_INT }, \
160}
161
162/*
163 * KERN_PROC subtypes
164 */
165#define KERN_PROC_ALL 0 /* everything */
166#define KERN_PROC_PID 1 /* by process id */
167#define KERN_PROC_PGRP 2 /* by process group id */

--- 182 unchanged lines hidden ---
162}
163
164/*
165 * KERN_PROC subtypes
166 */
167#define KERN_PROC_ALL 0 /* everything */
168#define KERN_PROC_PID 1 /* by process id */
169#define KERN_PROC_PGRP 2 /* by process group id */

--- 182 unchanged lines hidden ---