tomoyo_same_path2_acl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tomoyo_same_path2_acl β€” Kernel API Manual πŸŽ€

okay so bestie, welcome to the tomoyo_same_path2_acl(9) page ✨ this is a little kernel-API moment from the Kernel API Manual, and honestly? it's giving "tiny function, big responsibilities." let's get into it πŸ¦‹


🌸 NAME 🌸

tomoyo_same_path2_acl β€” the girl whose whole job is checking for a duplicated "struct tomoyo_path2_acl" entry πŸ‘‘ no cap, that's the entire gig.


✨ SYNOPSIS ✨

bool tomoyo_same_path2_acl (const struct tomoyo_acl_info *a , const
struct tomoyo_acl_info *b );

look at her go 😭 she takes two struct tomoyo_acl_info pointers and hands you back a bool. iconic signature, fr fr πŸ’–


🫢 ARGUMENTS 🫢

  • a β€” Pointer to "struct tomoyo_acl_info". (yes, it's literally just a pointer to a struct tomoyo_acl_info. she said "keep it simple" πŸ’…)
  • b β€” Pointer to "struct tomoyo_acl_info". (same energy, different variable name 🌸)

πŸ’€ DESCRIPTION πŸ’€

Returns true if a == b except permission bits, and false otherwise.

that's it. that's the whole function. she compares the two, ignores the permission bits on purpose (main character boundary-setting energy πŸ‘‘), and gives you a straight true/false answer. no drama, no guessing, no ambiguous vibes. periodt πŸŽ€

ngl bestie, "except permission bits" is doing a LOT of work in that sentence, so don't sleep on it β€” the comparison is not a straight-up full equality check πŸ™ˆ

🌈 SEE ALSO 🌈

Kernel file ./security/tomoyo/file.c, plus the whole friend group πŸ’–:

like, the whole security/tomoyo clique showed up to the group chat 😭 obsessed πŸ¦‹


okay bestie that's the page πŸ’œ super short, super specific, and honestly kind of a slay for a comparison helper. this one lives in ./security/tomoyo and the version tag on it is October 2026 β€” so yeah, mark your calendar, she's from the future 🌸✨ mwah, go read the rest of the (9) pages, iykyk πŸ’…πŸŽ€

πŸ“¦ where this page comes from