tomoyo_update_path2_acl(9)
π 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 π:
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_path2_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_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 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
- 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