get_current_groups(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to get_current_groups(9), bestie β€” that's the Kernel API Manual page we're doing today 🫢

get_current_groups β€” gets the current task's supplementary group list. That's the whole vibe. Slay.


✨ SYNOPSIS ✨

get_current_groups

πŸ¦‹ DESCRIPTION πŸ¦‹

This one gets the supplementary group list of the current task, and it pins it so that it can't go away. Like, it's holding onto the list so it literally cannot dip out. No cap. The pinning is the main character here πŸ’…


🌸 SEE ALSO 🌸

The Kernel file ./include/linux/cred.h is where the related lore lives, and the besties to check out are:


okay that's the page, bestie πŸ’– source/version/date sign-off: ./include/linux Β· October 2026 Β· get_current_groups(9) β€” mwah, periodt βœ¨πŸ’…

πŸ“¦ where this page comes from