Author: brooks
Date: Tue Jan 12 18:20:20 2010
New Revision: 202163
URL: http://svn.freebsd.org/changeset/base/202163

Log:
  Declare the kern.ngroups sysctl to be read-only, but tunable at boot for
  better error reporting.
  
  Submitted by: Matthew Fleming <matthew dot fleming at isilon dot com>
  MFC After:    1 month

Modified:
  head/sys/kern/kern_mib.c

Modified: head/sys/kern/kern_mib.c
==============================================================================
--- head/sys/kern/kern_mib.c    Tue Jan 12 18:07:12 2010        (r202162)
+++ head/sys/kern/kern_mib.c    Tue Jan 12 18:20:20 2010        (r202163)
@@ -124,7 +124,7 @@ SYSCTL_INT(_kern, KERN_ARGMAX, argmax, C
 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");
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to