get_group_info(9)
β¨ get_group_info(9) β¨
okay bestie, this is a Kernel API Manual page for get_group_info(9) β and yes, it's giving very βtiny function, very important referenceβ energy π
π NAME π
get_group_info β Get a reference to a group info structure
π¦ SYNOPSIS π¦
struct group_info * get_group_info (struct group_info *gi );
π ARGUMENTS π
giβ the group info to reference. That's the thing you're grabbing a reference to, bestie.
πΈ DESCRIPTION πΈ
This gets a reference to a set of supplementary groups. Periodt.
If the caller is accessing a task's credentials, they must hold the RCU read lock when reading. Like, not optional β this is a hard requirement, no cap.
π RETURN π
It returns gi. That's the whole return vibe.
π SEE ALSO π
Kernel file ./include/linux/cred.h; also put_group_info(9), get_cred_many(9), put_cred_many(9), current_cred(9), current_real_cred(9), __task_cred(9), get_current_cred(9), get_current_user(9), get_current_groups(9).
Bye bestie π«Ά β this page comes from ./include/linux, dated October 2026, and it's get_group_info(9) β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms