Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • 2
    A process normally has only the credentials of the primary group. It can gain acess to the credentials of the secondary groups the EUID is part of by calling initgroups(3). However, initgroups(3) is a relatively expensive operation, since it needs to enumerate all groups. For this reason, processes only call initgroups(3) if they have a specific reason to do it. Commented May 29, 2015 at 15:55