tomoyo_update_path_acl(9)
π tomoyo_update_path_acl β kernel API manual, section 9 π
okay so bestie, welcome to tomoyo_update_path_acl(9) β yes that's the whole name, yes it's a mouthful, no we're not shortening it, it's iconic like that β¨
πΈ NAME πΈ
tomoyo_update_path_acl β update the "struct tomoyo_path_acl" list. that's it. that's the whole job. she updates the list. periodt π
β¨ SYNOPSIS β¨
int tomoyo_update_path_acl (const u16 perm , struct tomoyo_acl_param *param );
literally just look at her. two args, one return. clean. minimal. main character energy π₯
π¦ ARGUMENTS π¦
permβ the permission. it's aconst u16, she's little but she matters πparamβ a pointer to"struct tomoyo_acl_param". yes the quotes are part of the original vibe, don't come for me π
π DESCRIPTION π
so here's the tea π she returns 0 on success, and a negative value otherwise. that's the whole contract, no cap.
β οΈ okay important one: the caller holds tomoyo_read_lock. that's not optional, that's not a suggestion, that's the rule. the caller is holding it. don't be weird about it π
π§ SEE ALSO π§
the kernel file is ./security/tomoyo/file.c and honestly the whole friend group is here β say hi to everybody π«Ά:
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_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 besties. the group chat is POPPING π
that's the whole page, bestie β stay hydrated, hold your read lock, and slay π
from ./security/tomoyo, dated October 2026, and yes she signs off as tomoyo_update_path_acl(9) every single time because consistency is a flex πβ¨
π¦ 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