tomoyo_same_mkdev_acl(9)
π tomoyo_same_mkdev_acl β the kernel API manual, bestie edition β¨
okay so real talk, this one lives in the kernel API manual, section 9, and it's called tomoyo_same_mkdev_acl. say it with me: tomoyo-same-mkdev-acl. iconic name, honestly.
πΈ NAME πΈ
tomoyo_same_mkdev_acl β the little function whose whole job is checking for a duplicated struct tomoyo_mkdev_acl entry. that's it, that's the gig. no cap. π
β¨ SYNOPSIS β¨
bool tomoyo_same_mkdev_acl (const struct tomoyo_acl_info *a , const
struct tomoyo_acl_info *b );
so she takes two const struct tomoyo_acl_info * pointers and hands you back a bool. short, sweet, to the point. we love a minimal signature. π«Ά
π¦ ARGUMENTS π¦
aβ pointer tostruct tomoyo_acl_info. yeah. that's the whole note. the first one. πbβ pointer tostruct tomoyo_acl_info. and this is the second one. the way they're literally twins in the docs, i cannot π
π₯ DESCRIPTION π₯
returns true if a == b except permission bits, and false otherwise.
read that again bestie, because the "except permission bits" part is doing SO much work in that sentence. it's not "are these two identical", it's "are these two identical once you stop looking at the permission bits". main character caveat energy. π
permission bits? not invited to this comparison. everything else? vibe check, compared, judged. periodt.
π SEE ALSO π
kernel file ./security/tomoyo/file.c β and like, the entire friend group, honestly. she does not exist in a vacuum:
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_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 cross-references. she knows everyone. iykyk. π
ngl there is nothing else on this page. no options, no environment variables, no exit statuses, no bug notes. it's one function doing one tiny comparison and we respect the focus. π
and that's the whole page, bestie!! source path is ./security/tomoyo, dated October 2026, and the header/footer both just repeat tomoyo_same_mkdev_acl(9) at you like a little echo. slay. go compare your ACLs. ππ§π
π¦ 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