Page MenuHomeFreeBSD

linux: setgroups(): Fix the group number's upper limit
ClosedPublic

Authored by olce on Aug 29 2025, 11:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Feb 26, 9:39 AM
Unknown Object (File)
Tue, Feb 24, 4:47 PM
Unknown Object (File)
Sun, Feb 22, 6:53 PM
Unknown Object (File)
Sat, Feb 14, 3:26 AM
Unknown Object (File)
Tue, Feb 10, 12:13 AM
Unknown Object (File)
Sun, Feb 8, 8:28 AM
Unknown Object (File)
Sat, Feb 7, 4:21 PM
Unknown Object (File)
Jan 31 2026, 8:45 AM
Subscribers

Details

Summary

'ngroups_max' is the maximum number of supplementary groups the system
will accept, and this has not changed.

Fixes: 9da2fe96ff2e ("kern: fix setgroups(2) and getgroups(2) to match other platforms")
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable