From 093cb4c3ba15f51721149c2140ef09d79848c989 Mon Sep 17 00:00:00 2001 From: brooks Date: Tue, 12 Jan 2010 18:20:20 +0000 Subject: Declare the kern.ngroups sysctl to be read-only, but tunable at boot for better error reporting. Submitted by: Matthew Fleming MFC After: 1 month --- sys/kern/kern_mib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern') diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c index e2d061a..7ef580f 100644 --- a/sys/kern/kern_mib.c +++ b/sys/kern/kern_mib.c @@ -124,7 +124,7 @@ SYSCTL_INT(_kern, KERN_ARGMAX, argmax, CTLFLAG_RD, SYSCTL_INT(_kern, KERN_POSIX1, posix1version, CTLFLAG_RD, 0, _POSIX_VERSION, "Version of POSIX attempting to comply to"); -SYSCTL_INT(_kern, KERN_NGROUPS, ngroups, CTLFLAG_RD, +SYSCTL_INT(_kern, KERN_NGROUPS, ngroups, CTLFLAG_RDTUN, &ngroups_max, 0, "Maximum number of supplemental groups a user can belong to"); -- cgit v1.1