tomoyo_update_path2_acl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tomoyo_update_path2_acl(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual page for tomoyo_update_path2_acl(9) β€” yes that's the whole title, she's long, she's iconic, we move. this one's a little kernel helper that keeps a list tidy and honestly it's giving "quiet main character energy" ✨


🌸 NAME 🌸

tomoyo_update_path2_acl β€” update the "struct tomoyo_path2_acl" list. that's it, that's the job, and she does it flawlessly fr fr πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int tomoyo_update_path2_acl (const u8 perm , struct tomoyo_acl_param
*param );

one function, two arguments, zero drama. look at that signature slaying in monospace 😌


πŸ“ ARGUMENTS πŸ“

  • perm β€” the permission. like, the whole point. the vibe. the thing you're granting. const u8, so it's small and it's not changing on your watch πŸ’…
  • param β€” a pointer to "struct tomoyo_acl_param". yes bestie, a pointer, handle with care, we love a struct reference 🫢

πŸ”₯ DESCRIPTION πŸ”₯

so here's the tea β˜• β€” this function returns 0 on success, and a negative value otherwise. no cap, that's the whole contract: zero good, negative bad. screenshot it, memorize it, put it on your mirror 🌈

⚠️ real talk for a sec: the caller holds tomoyo_read_lock. that's not optional, that's not a suggestion, that's the rule. don't come for this function without your lock held, i'm begging 😭

πŸ‘‘ SEE ALSO πŸ‘‘

okay this is the friend group and it is stacked. literally the whole Kernel file ./security/tomoyo/file.c crew, all here, all together, group chat popping off πŸ’–:

like, thirty-five besties. thirty-five. that's not a SEE ALSO, that's a whole festival lineup πŸŽͺ✨


and that's the page!! 🧚 mwah, go update your lists responsibly πŸ’œ

sign-off time: this gem lives in ./security/tomoyo, she's stamped October 2026, and she answers to tomoyo_update_path2_acl(9). πŸŽ€ periodt πŸŽ€

πŸ“¦ where this page comes from