mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 09:02:44 +00:00
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
This commit is contained in:
parent
d49bbd73ff
commit
93833c1db6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202163
@ -124,7 +124,7 @@ SYSCTL_INT(_kern, KERN_ARGMAX, argmax, CTLFLAG_RD,
|
|||||||
SYSCTL_INT(_kern, KERN_POSIX1, posix1version, CTLFLAG_RD,
|
SYSCTL_INT(_kern, KERN_POSIX1, posix1version, CTLFLAG_RD,
|
||||||
0, _POSIX_VERSION, "Version of POSIX attempting to comply to");
|
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,
|
&ngroups_max, 0,
|
||||||
"Maximum number of supplemental groups a user can belong to");
|
"Maximum number of supplemental groups a user can belong to");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user