tomoyo_compare_name_union(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 to struct tomoyo_path_info. That’s the name pointer, periodt πŸ“›.
  • ptr β€” pointer to struct 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 πŸ‘‘:


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