Comment 4 for bug 1903332

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Marc and I also discussed this on IRC wrt setgroups(0, NULL) and initgroups() to the user's groups. IME, if the requirements/expectations of the code in question is fine with just the primary group, setgroups(0, NULL) is safest, but if that isn't the case, we should consider initgroups.