get_group_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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