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, Mar 26, 2:52 AM
Unknown Object (File)
Wed, Mar 25, 6:58 PM
Unknown Object (File)
Sun, Mar 22, 4:07 PM
Unknown Object (File)
Thu, Feb 26, 9:39 AM
Unknown Object (File)
Feb 24 2026, 4:47 PM
Unknown Object (File)
Feb 22 2026, 6:53 PM
Unknown Object (File)
Feb 14 2026, 3:26 AM
Unknown Object (File)
Feb 10 2026, 12:13 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