tomoyo_scan_transition(9)
π tomoyo_scan_transition β a lil peek inside the Kernel API Manual (section 9, bestie, kernel-land) π
okay so picture this: you're deep in TOMOYO land and you need to figure out whether a specific domain transition type is even in the building. That's this function. It's giving "bouncer at the club checking the list" energy π₯
β¨ NAME β¨
tomoyo_scan_transition β literally just tryna find one specific domain transition type. That's it. That's the whole job. π
πΈ SYNOPSIS πΈ
bool tomoyo_scan_transition (const struct list_head *list , const struct
tomoyo_path_info *domainname , const struct tomoyo_path_info *program ,
const char *last_name , const enum tomoyo_transition_type type );
no cap, that's the signature. copy it exactly, she's sensitive π«Ά
π¦ ARGUMENTS π¦
listβ Pointer tostruct list_head. yes bestie the actual list we're rummaging through π§domainnameβ The name of current domain. like, where we are right now β¨programβ The name of requested program. the one we're looking for πlast_nameβ The last component ofdomainname. just the tail end of it, iykyk πtypeβ One of values inenum tomoyo_transition_type. pick your fighter from the enum π
π DESCRIPTION π
Returns true if found one, false otherwise. boom. that's the whole vibe check β
β
Caller holds tomoyo_read_lock. like β not optional, bestie, you gotta be holding it already. don't come in here empty-handed ππ
π SEE ALSO π
Kernel file ./security/tomoyo/domain.c β and honestly the whole friend group shows up here:
tomoyo_update_policy(9)tomoyo_same_acl_head(9)tomoyo_update_domain(9)tomoyo_check_acl(9)tomoyo_last_word(9)tomoyo_same_transition_control(9)tomoyo_write_transition_control(9)tomoyo_transition_type(9)tomoyo_same_aggregator(9)tomoyo_write_aggregator(9)tomoyo_find_namespace(9)tomoyo_assign_namespace(9)tomoyo_namespace_jump(9)tomoyo_assign_domain(9)tomoyo_environ(9)tomoyo_find_next_domain(9)tomoyo_dump_page(9)
like, the entire squad ππ―ββοΈ go read all of them fr fr.
ok that's the page!! sourced straight from./security/tomoyo, dated October 2026, and she lives attomoyo_scan_transition(9)πβ¨ mwah, go read some kernel code bestie, you got this ππ¦
π¦ 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