aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2010-01-12 07:49:34 +0000
committerBrooks Davis <brooks@FreeBSD.org>2010-01-12 07:49:34 +0000
commit412f9500e2fd3ae0c7546fefb5823bc207139213 (patch)
treede91cf4c019f8024f0f1e02debf82cece77d60f2 /sys/boot
parent7bf27b2dde45e09ea60028de94ccabdc8bd1d1d3 (diff)
downloadsrc-412f9500e2fd3ae0c7546fefb5823bc207139213.tar.gz
src-412f9500e2fd3ae0c7546fefb5823bc207139213.zip
Replace the static NGROUPS=NGROUPS_MAX+1=1024 with a dynamic
kern.ngroups+1. kern.ngroups can range from NGROUPS_MAX=1023 to INT_MAX-1. Given that the Windows group limit is 1024, this range should be sufficient for most applications. MFC after: 1 month
Notes
Notes: svn path=/head/; revision=202143
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/forth/loader.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/forth/loader.conf b/sys/boot/forth/loader.conf
index 44eef5fb9b1e..523a2f7ce3e1 100644
--- a/sys/boot/forth/loader.conf
+++ b/sys/boot/forth/loader.conf
@@ -101,6 +101,7 @@ module_path="/boot/modules" # Set the module search path
#kern.maxusers="32" # Set size of various static tables
#kern.nbuf="" # Set the number of buffer headers
#kern.ncallout="" # Set the maximum # of timer events
+#kern.ngroups="1023" # Set the maximum # of supplemental groups
#kern.sgrowsiz="" # Set the amount to grow stack
#kern.cam.scsi_delay="2000" # Delay (in ms) before probing SCSI
#kern.ipc.maxsockets="" # Set the maximum number of sockets avaliable