tomoyo_merge_unix_acl(9)
π tomoyo_merge_unix_acl β the kernel API manual, bestie edition β¨
okay so before we even start: this page lives in the Kernel API Manual, section 9, and its whole entire name is tomoyo_merge_unix_acl. yes that's a mouthful, no we are not shortening it, it's iconic and we respect it. π«Ά
πΈ NAME πΈ
tomoyo_merge_unix_acl β merge a duplicated "struct tomoyo_unix_acl" entry. that's it, that's the job. lowkey humble but highkey important. π
β¨ SYNOPSIS β¨
bool tomoyo_merge_unix_acl (struct tomoyo_acl_info *a , struct
tomoyo_acl_info *b , const bool is_delete );
three args, one bool out the door. slay. π
π¦ ARGUMENTS π¦
aβ pointer to"struct tomoyo_acl_info". yes bestie, it's a pointer, and it's giving main character energy because everything hinges on whether it ends up empty. πbβ pointer to"struct tomoyo_acl_info". the other one. the dupe. the second half of this little merge situationship. πis_deleteβTruefora &= ~b,falsefora |= b. so like, true means you're taking stuff away, false means you're adding stuff in. no cap, that's the whole vibe check right there. π₯
π§ DESCRIPTION π§
returns true if a is empty, false otherwise. that's literally it. ngl it's a short description but it ate and left no crumbs. π
so yeah: call it, look at the return value, and you'll know whether a came out of this whole thing empty or not. periodt. π
π SEE ALSO π
before you go, the kernel file to peek at is ./security/tomoyo/network.c β that's the address, that's where the lore lives. π
and now the full friend group, everyone gets a shoutout, nobody gets left on read:
tomoyo_parse_ipaddr_union(9)tomoyo_print_ipv4(9)tomoyo_print_ipv6(9)tomoyo_print_ip(9)tomoyo_same_inet_acl(9)tomoyo_same_unix_acl(9)tomoyo_merge_inet_acl(9)tomoyo_write_inet_network(9)tomoyo_write_unix_network(9)tomoyo_audit_net_log(9)tomoyo_audit_inet_log(9)tomoyo_audit_unix_log(9)tomoyo_check_inet_acl(9)tomoyo_check_unix_acl(9)tomoyo_inet_entry(9)tomoyo_check_inet_address(9)tomoyo_unix_entry(9)tomoyo_check_unix_address(9)tomoyo_kernel_service(9)tomoyo_sock_family(9)tomoyo_socket_listen_permission(9)tomoyo_socket_connect_permission(9)tomoyo_socket_bind_permission(9)tomoyo_socket_sendmsg_permission(9)
like, the whole network.c cinematic universe. obsessed. π
and that's the page!! tysm for reading bestie π«Ά
this one ships out from ./security/tomoyo, dated October 2026, and it goes by tomoyo_merge_unix_acl(9) β remember the name, it's a star. ππ
π¦ 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