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 --- 22 unchanged lines hidden (view full) --- 31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33 * SUCH DAMAGE. 34 * 35 * @(#)kern_sysctl.c 8.4 (Berkeley) 4/14/94 36 */ 37 38#include <sys/cdefs.h> |
39__FBSDID("$FreeBSD: head/sys/kern/kern_mib.c 202163 2010-01-12 18:20:20Z brooks $"); |
40 41#include "opt_compat.h" 42#include "opt_posix.h" 43#include "opt_config.h" 44 45#include <sys/param.h> 46#include <sys/kernel.h> 47#include <sys/sbuf.h> --- 71 unchanged lines hidden (view full) --- 119 &maxusers, 0, "Hint for kernel tuning"); 120 121SYSCTL_INT(_kern, KERN_ARGMAX, argmax, CTLFLAG_RD, 122 0, ARG_MAX, "Maximum bytes of argument to execve(2)"); 123 124SYSCTL_INT(_kern, KERN_POSIX1, posix1version, CTLFLAG_RD, 125 0, _POSIX_VERSION, "Version of POSIX attempting to comply to"); 126 |
127SYSCTL_INT(_kern, KERN_NGROUPS, ngroups, CTLFLAG_RDTUN, |
128 &ngroups_max, 0, 129 "Maximum number of supplemental groups a user can belong to"); 130 131SYSCTL_INT(_kern, KERN_JOB_CONTROL, job_control, CTLFLAG_RD, 132 0, 1, "Whether job control is available"); 133 134#ifdef _POSIX_SAVED_IDS 135SYSCTL_INT(_kern, KERN_SAVED_IDS, saved_ids, CTLFLAG_RD, --- 359 unchanged lines hidden --- |