tomoyo_get_group(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tomoyo_get_group ✨

okay so bestie, welcome to the Kernel API Manual β€” this one's a lil function from the TOMOYO security subsystem and she's honestly kinda iconic πŸŽ€


🌸 NAME 🌸

tomoyo_get_group β€” Allocate memory for "struct tomoyo_path_group"/"struct tomoyo_number_group".

like literally she's the girl who books the venue for the group πŸ’– (the memory kind, not the chat kind)


✨ SYNOPSIS ✨

struct tomoyo_group * tomoyo_get_group (struct tomoyo_acl_param *param ,
       const u8 idx );

look at her, two params, one pointer returned β€” main character energy fr fr πŸ‘‘


🫢 ARGUMENTS 🫢

  • param β€” Pointer to "struct tomoyo_acl_param". this is the lil bundle of info she needs, no cap πŸ’…
  • idx β€” Index number. yep that's it, just the index πŸ¦‹

πŸ’œ DESCRIPTION πŸ’œ

Returns pointer to "struct tomoyo_group" on success, NULL otherwise.

that's the whole vibe honestly β€” you give her the params, she gives you the pointer. slay ✨ but also she can just hand you a NULL if things don't work out, so do the vibe check on that return value bestie, fr fr πŸ™ˆ


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./security/tomoyo/memory.c plus her whole friend group 😭🫢:

iykyk β€” go read those next, they all hang out in the same directory 🌈


and that's the page!! mwah πŸ’‹ source is ./security/tomoyo, dated October 2026, and this is the <pink>9</pink>-flavoured Kernel API Manual. periodt. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from