HomeFreeBSD

linux: setgroups(): Avoid allocation under the process lock

Description

linux: setgroups(): Avoid allocation under the process lock

This was missed in commit 838d9858251e ("Rework the credential code to
support larger values of NGROUPS (...)").

No functional change (intended).

MFC after: 5 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52278

Details

Provenance
olceAuthored on Aug 28 2025, 3:47 PM
Differential Revision
D52278: linux: setgroups(): Avoid allocation under the process lock
Parents
rGbbdea7c9f4ae: linux: setgroups(): Fix the group number's upper limit
Branches
Unknown
Tags
Unknown