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
F167849526: D52277.id162243.diff
Tue, Aug 25, 12:04 AM
F167807402: D52277.id162243.diff
Mon, Aug 24, 5:03 PM
Unknown Object (File)
Thu, Aug 20, 8:50 AM
Unknown Object (File)
Thu, Aug 20, 5:40 AM
Unknown Object (File)
Wed, Aug 19, 2:30 PM
Unknown Object (File)
Wed, Aug 19, 2:15 AM
Unknown Object (File)
Sun, Aug 16, 8:10 PM
Unknown Object (File)
Sun, Aug 9, 3:29 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