tomoyo_audit_mkdev_log(9)
π tomoyo_audit_mkdev_log(9) π
okay so bestie, welcome to the Kernel API Manual β this one's a kernel page, so no shell commands for us to run, just Vibes and C signatures. it's tomoyo_audit_mkdev_log, and she's here to log stuff. let's get into it β¨
πΈ NAME πΈ
tomoyo_audit_mkdev_log β literally the function that audits the path/number/number/number request log. that's the whole vibe. path, number, number, number. four things. she counts them. π
π SYNOPSIS π
int tomoyo_audit_mkdev_log (struct tomoyo_request_info *r );
one function, one pointer, int coming back at you. that's it, that's the whole synopsis, and honestly? iconic. π¦
π«Ά ARGUMENTS π«Ά
rβ a pointer to"struct tomoyo_request_info". yes the quotes are part of the original and yes we're keeping them, don't @ me. she's a pointer, she points at a request info struct, that's her whole job. π
β DESCRIPTION β
so what does she do. she returns 0 on success β yay, we love a zero, zero is the good number, zero is a slay π β and a negative value otherwise. that's the entire description, no cap. negative means something went sideways, and that's all the manpage is gonna tell us, so we're not gonna sit here and invent lore about which negative value, because that would be making stuff up and we don't do that. π₯
ngl the description here is short but that's fine, some pages are essays and some pages are just "returns 0 on success, negative value otherwise." she's a woman of few words. respect. π
π§ SEE ALSO π§
okay this is the part where she shows you her whole friend group. and bestie, it's a big friend group. everyone below lives in the kernel file ./security/tomoyo/file.c:
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_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_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 entries. she knows everyone. the same/merge/update trios are giving very "we come as a set" energy, and the perm girls are their own little clique. iykyk. π
and that's the page!! no bugs section, no warnings, no exit statuses β just a return value and a big ol' friend list. π
sign-off era π: this whole thing lives in ./security/tomoyo, and the page is dated October 2026 β yes, the future, she's ahead of her time, main character energy fr fr. mwah, go read the rest of the tomoyo pages, ily, bye!! πβ¨
π¦ 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