fix setgroups behavior in multithreaded process
commit4209a7b1048c2601be0dd91aeb9b9ed0a7447965
authorRich Felker <dalias@aerifal.cx>
Tue, 27 Oct 2020 04:59:54 +0000 (27 00:59 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 27 Oct 2020 04:59:54 +0000 (27 00:59 -0400)
treef80de31d9c6f4979f73078b8b862871ce3b62424
parent6ce91ef0e8eddd756def4e7e5c47c639f45fcf5f
fix setgroups behavior in multithreaded process

this function is outside the scope of the standards, but logically
should behave like the set*id functions whose effects are
process-global.
src/linux/setgroups.c