tomoyo_merge...h_number_acl(9)
β¨ tomoyo_merge...h_number_acl(9) β¨
okay bestie, welcome to the Kernel API Manual π β yes, the title's literally got an ellipsis in it, not me being lazy, that's just how it got truncated and we're rolling with it π
π NAME π
tomoyo_merge_path_number_acl β the function that merges duplicated struct tomoyo_path_number_acl entries. yes, duplicated. we don't do dupes here, we consolidate π«Ά
πΈ SYNOPSIS πΈ
bool tomoyo_merge_path_number_acl (struct tomoyo_acl_info *a , struct tomoyo_acl_info *b , const bool is_delete );
like, three args, returns a bool, classic. slay β¨
π¦ ARGUMENTS π¦
aβ a pointer tostruct tomoyo_acl_info. that's the vibe. it's the one being merged into, iykyk πbβ a pointer tostruct tomoyo_acl_info. also iconic. this is the other one in the situationship π₯is_deleteβ ok so this one's the main character:truemeans you're doinga &= ~b, andfalsemeans you're doinga |= b. literally just a bool deciding which bitwise direction we're going. no cap π
π₯ DESCRIPTION π₯
Returns true if a is empty, and false otherwise. that's it. that's the whole plot π
the way that's genuinely it β merge the dupes, then tell the caller whether a came out empty. short king of a function, fr fr β
π SEE ALSO π
everything here lives in the kernel file ./security/tomoyo/file.c, and honestly the whole friend group showed up, so let's do roll call ππ
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_update_path2_acl(9)tomoyo_path_permission(9)tomoyo_execute_permission(9)tomoyo_same_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, the entire extended universe. obsessed π§π
ngl bestie, the wholesame_*/merge_*/update_*trio pattern is giving boyband, and if you get one of them you basically get all of them. periodt π₯
k byeeee π this page came from ./security/tomoyo, dated October 2026, and it's filed under tomoyo_merge...h_number_acl(9) β go forth and merge responsibly, 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