tomoyo_check_path2_acl(9)
π tomoyo_check_path2_acl (9) β from the Kernel API Manual π
okay bestie, gather round, because today we're looking at tomoyo_check_path2_acl β yes that's the manual page name AND the function name, she's doing double duty, main character energy fr fr β¨
πΈ NAME πΈ
tomoyo_check_path2_acl β the girl who checks the permission for the path path operation. periodt. π
π¦ SYNOPSIS π¦
bool tomoyo_check_path2_acl (struct tomoyo_request_info *r , const
struct tomoyo_acl_info *ptr );
like, that's literally the whole signature. no cap. π«Ά
β¨ ARGUMENTS β¨
rβ a pointer tostruct tomoyo_request_infoπ she's the request info, she knows thingsptrβ a pointer tostruct tomoyo_acl_infoπ and she's the acl info, also knows things
both are pointers, both are structs, both are iconic. iykyk π
π DESCRIPTION π
So what does she actually do? Okay so:
Returns true if granted, and false otherwise. π₯
That's it. That's the whole vibe check. true = slay, you're in β¨ false = not today bestie π
π₯ SEE ALSO π₯
bestie there is a WHOLE friend group here, and honestly? the way they all show up together is giving squad goals π«Ά every single one of them, in order, no skipping:
- the Kernel file
./security/tomoyo/file.cπ (yes, the actual file, she's the venue) tomoyo_put_name_union(9)tomoyo_compare_name_union(9)tomoyo_put_number_union(9)tomoyo_compare_number_union(9)tomoyo_add_slash(9)tomoyo_get_realpath(9)tomoyo_audit_path_log(9)tomoyo_audit_path2_log(9)tomoyo_audit_mkdev_log(9)tomoyo_audit_path_number_log(9)tomoyo_check_path_acl(9)tomoyo_check_path_number_acl(9)tomoyo_check_mkdev_acl(9)tomoyo_same_path_acl(9)tomoyo_merge_path_acl(9)tomoyo_update_path_acl(9)tomoyo_same_mkdev_acl(9)tomoyo_merge_mkdev_acl(9)tomoyo_update_mkdev_acl(9)tomoyo_same_path2_acl(9)tomoyo_merge_path2_acl(9)tomoyo_update_path2_acl(9)tomoyo_path_permission(9)tomoyo_execute_permission(9)tomoyo_same_path_number_acl(9)tomoyo_merge_path_number_acl(9)tomoyo_update_path_number_acl(9)tomoyo_path_number_perm(9)tomoyo_check_open_permission(9)tomoyo_path_perm(9)tomoyo_mkdev_perm(9)tomoyo_path2_perm(9)tomoyo_same_mount_acl(9)tomoyo_update_mount_acl(9)tomoyo_write_file(9)
like, thirty-five whole references. thirty-five!! she said "i have friends in security/tomoyo" and she meant it ππ
β οΈ friendly heads up bestie: she returnsboolβtrue= granted,false= not granted. don't overthink it, she's very straightforward π
and that's the page! π¦ courtesy of ./security/tomoyo, dated October 2026 β written down for you by the tomoyo_check_path2_acl(9) girlies. mwah πβ¨ π
π¦ 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