tomoyo_pathcmp(9)
π tomoyo_pathcmp(9) β like, the manual page, bestie
okay so real talk? this one's a whole little icon. it's tomoyo_pathcmp, a kernel function living its best life in the TOMOYO security subsystem, and honestly it's giving "small but mighty." π everybody say thank you to tomoyo_pathcmp(9) for existing.
β¨ NAME β¨
tomoyo_pathcmp β bestie, it's literally strcmp() for the "struct tomoyo_path_info" structure. that's the whole vibe. no cap. π¦
πΈ SYNOPSIS πΈ
bool tomoyo_pathcmp (const struct tomoyo_path_info *a , const struct
tomoyo_path_info *b );
look at her. two pointers, one bool, zero drama. she said "I only do one job and I do it flawlessly." π
π ARGUMENTS π
aβ pointer to"struct tomoyo_path_info". yes, the quotes are part of the original energy, we keep them, we respect them π«Άbβ pointer to"struct tomoyo_path_info". the other half of this iconic duo. they're literally matching. it's giving twin flames π₯
π§ DESCRIPTION π§
so here's the tea: it returns true if a == b, and false otherwise. that's it. that's the function. she's short, she's sweet, she's built different, and she is NOT here to waste your time. π
β¨
like, think of it as the world's most reliable vibe check for two struct tomoyo_path_info pointers β are they the same? yes or no. no essays, no follow-up questions. periodt. π
ngl the whole thing is one sentence of behavior and we're obsessed with the efficiency. lowkey main character energy for a comparison function. π
π SEE ALSO π
the kernel file ./security/tomoyo/common.h is where the lore lives, and it's got company β go say hi to the whole friend group:
tomoyo_read_lock(9)tomoyo_read_unlock(9)tomoyo_sys_getppid(9)tomoyo_sys_getpid(9)tomoyo_put_name(9)tomoyo_put_condition(9)tomoyo_put_group(9)tomoyo_task(9)tomoyo_same_name_union(9)tomoyo_same_number_union(9)tomoyo_same_ipaddr_union(9)tomoyo_current_namespace(9)list_for_each_cookie(9)
that's the group chat. iykyk. ππ
and that's the page, bestie!! courtesy of ./security/tomoyo, dated October 2026 β mwah, love u, go compare some paths responsibly ππ§π
π¦ 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