tomoyo_get_group(9)
π 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
- 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