sysctl.h (2858) | sysctl.h (2946) |
---|---|
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.9 1994/09/16 01:09:42 ache Exp $ | 37 * $Id: sysctl.h,v 1.10 1994/09/18 20:40:00 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 */ --- 112 unchanged lines hidden (view full) --- 158 { "saved_ids", CTLTYPE_INT }, \ 159 { "boottime", CTLTYPE_STRUCT }, \ 160 { "domainname", CTLTYPE_STRING }, \ 161 { "update", CTLTYPE_INT }, \ 162 { "osreldate", CTLTYPE_INT }, \ 163 { "ntp_pll", CTLTYPE_NODE }, \ 164} 165 | 38 */ 39 40#ifndef _SYS_SYSCTL_H_ 41#define _SYS_SYSCTL_H_ 42 43/* 44 * These are for the eproc structure defined below. 45 */ --- 112 unchanged lines hidden (view full) --- 158 { "saved_ids", CTLTYPE_INT }, \ 159 { "boottime", CTLTYPE_STRUCT }, \ 160 { "domainname", CTLTYPE_STRING }, \ 161 { "update", CTLTYPE_INT }, \ 162 { "osreldate", CTLTYPE_INT }, \ 163 { "ntp_pll", CTLTYPE_NODE }, \ 164} 165 |
166/* 167 * CTL_FS identifiers 168 */ 169#define FS_VFSCONF 0 /* get configured filesystems */ 170#define FS_MAXID 1 /* number of items */ 171 172#define CTL_FS_NAMES { \ 173 { "vfsconf", CTLTYPE_STRUCT }, \ 174} 175 |
|
166/* 167 * KERN_PROC subtypes 168 */ 169#define KERN_PROC_ALL 0 /* everything */ 170#define KERN_PROC_PID 1 /* by process id */ 171#define KERN_PROC_PGRP 2 /* by process group id */ 172#define KERN_PROC_SESSION 3 /* by session of pid */ 173#define KERN_PROC_TTY 4 /* by controlling tty */ --- 182 unchanged lines hidden --- | 176/* 177 * KERN_PROC subtypes 178 */ 179#define KERN_PROC_ALL 0 /* everything */ 180#define KERN_PROC_PID 1 /* by process id */ 181#define KERN_PROC_PGRP 2 /* by process group id */ 182#define KERN_PROC_SESSION 3 /* by session of pid */ 183#define KERN_PROC_TTY 4 /* by controlling tty */ --- 182 unchanged lines hidden --- |