Page MenuHomeFreeBSD

stress2: Fix removal of supplementary groups
ClosedPublic

Authored by olce on Aug 29 2025, 11:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 18, 11:56 PM
Unknown Object (File)
Fri, Apr 17, 12:18 PM
Unknown Object (File)
Thu, Apr 16, 6:30 AM
Unknown Object (File)
Sat, Apr 11, 1:16 PM
Unknown Object (File)
Fri, Apr 10, 1:28 PM
Unknown Object (File)
Sat, Apr 4, 6:31 PM
Unknown Object (File)
Sat, Apr 4, 6:46 AM
Unknown Object (File)
Fri, Apr 3, 9:12 PM
Subscribers

Details

Summary

To this end, call setgroups(0, NULL) instead of passing the effective
GID. This stance is fully compatible with older versions of FreeBSD.

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 Skipped
Unit
Tests Skipped
Build Status
Buildable 66693
Build 63576: arc lint + arc unit