tomoyo_compare_name_union(9)
π tomoyo_compare_name_union(9) π
okay bestie, welcome to the Kernel API Manual β weβre looking at tomoyo_compare_name_union(9) today, and itβs giving βdoes this name match this union or notβ energy, iconic little check, no cap β¨.
πΈ NAME πΈ
tomoyo_compare_name_union β check whether a name matches struct tomoyo_name_union or not. Thatβs literally the whole assignment, bestie π
.
π¦ SYNOPSIS π¦
const struct tomoyo_path_info * tomoyo_compare_name_union (const struct
tomoyo_path_info *name , const struct tomoyo_name_union *ptr );
Exact signature, no edits, we keep it pristine π.
π ARGUMENTS π
nameβ pointer tostruct tomoyo_path_info. Thatβs the name pointer, periodt π.ptrβ pointer tostruct tomoyo_name_union. Thatβs the union pointer, slay π«Ά.
π DESCRIPTION π
If name matches ptr, it returns struct tomoyo_path_info; otherwise it returns NULL. Thatβs the whole outcome, bestie β
. Match = the struct comes back; no match = NULL; thatβs the vibe check, periodt π
.
π SEE ALSO π
Kernel file: ./security/tomoyo/file.c β thatβs the home base. It also points at this whole crew π:
tomoyo_put_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_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)
mwah π this page is from source/version ./security/tomoyo, dated October 2026, and itβs literally the tomoyo_compare_name_union(9) page β bye bestie, slay your kernel reading π«Άπ
π¦ 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