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 * $Id: kern_mib.c,v 1.19 1999/04/28 11:36:56 phk Exp $
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>
--- 10 unchanged lines hidden (view full) ---
59SYSCTL_NODE(, CTL_VM, vm, CTLFLAG_RW, 0,
60 "Virtual memory");
61SYSCTL_NODE(, CTL_VFS, vfs, CTLFLAG_RW, 0,
62 "File system");
63SYSCTL_NODE(, CTL_NET, net, CTLFLAG_RW, 0,
64 "Network, (see socket.h)");
65SYSCTL_NODE(, CTL_DEBUG, debug, CTLFLAG_RW, 0,
66 "Debugging");
67SYSCTL_NODE(, CTL_HW, hw, CTLFLAG_RW, 0,
68 "hardware");
69SYSCTL_NODE(, CTL_MACHDEP, machdep, CTLFLAG_RW, 0,
70 "machine dependent");
71SYSCTL_NODE(, CTL_USER, user, CTLFLAG_RW, 0,
72 "user-level");
73
74SYSCTL_NODE(, CTL_P1003_1B, p1003_1b, CTLFLAG_RW, 0,
--- 156 unchanged lines hidden (view full) ---
231SYSCTL_INT(_user, USER_POSIX2_SW_DEV, posix2_sw_dev, CTLFLAG_RD,
232 0, 0, "Whether system supports software development utilities");
233SYSCTL_INT(_user, USER_POSIX2_UPE, posix2_upe, CTLFLAG_RD,
234 0, 0, "Whether system supports the user portability utilities");
235SYSCTL_INT(_user, USER_STREAM_MAX, stream_max, CTLFLAG_RD,
236 0, 0, "Min Maximum number of streams a process may have open at one time");
237SYSCTL_INT(_user, USER_TZNAME_MAX, tzname_max, CTLFLAG_RD,
238 0, 0, "Min Maximum number of types supported for timezone names");
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 * $Id: kern_mib.c,v 1.19 1999/04/28 11:36:56 phk Exp $
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>
--- 10 unchanged lines hidden (view full) ---
59SYSCTL_NODE(, CTL_VM, vm, CTLFLAG_RW, 0,
60 "Virtual memory");
61SYSCTL_NODE(, CTL_VFS, vfs, CTLFLAG_RW, 0,
62 "File system");
63SYSCTL_NODE(, CTL_NET, net, CTLFLAG_RW, 0,
64 "Network, (see socket.h)");
65SYSCTL_NODE(, CTL_DEBUG, debug, CTLFLAG_RW, 0,
66 "Debugging");
67SYSCTL_NODE(, CTL_HW, hw, CTLFLAG_RW, 0,
68 "hardware");
69SYSCTL_NODE(, CTL_MACHDEP, machdep, CTLFLAG_RW, 0,
70 "machine dependent");
71SYSCTL_NODE(, CTL_USER, user, CTLFLAG_RW, 0,
72 "user-level");
73
74SYSCTL_NODE(, CTL_P1003_1B, p1003_1b, CTLFLAG_RW, 0,
--- 156 unchanged lines hidden (view full) ---
231SYSCTL_INT(_user, USER_POSIX2_SW_DEV, posix2_sw_dev, CTLFLAG_RD,
232 0, 0, "Whether system supports software development utilities");
233SYSCTL_INT(_user, USER_POSIX2_UPE, posix2_upe, CTLFLAG_RD,
234 0, 0, "Whether system supports the user portability utilities");
235SYSCTL_INT(_user, USER_STREAM_MAX, stream_max, CTLFLAG_RD,
236 0, 0, "Min Maximum number of streams a process may have open at one time");
237SYSCTL_INT(_user, USER_TZNAME_MAX, tzname_max, CTLFLAG_RD,
238 0, 0, "Min Maximum number of types supported for timezone names");