tomoyo_condition_type(9)
π NAME π
okay so bestie, welcome to the tomoyo_condition_type(9) page in the Kernel API Manual β this one is literally about getting a condition type β¨ tomoyo_condition_type β get condition type. Thatβs the whole assignment, no cap π
β¨ SYNOPSIS β¨
u8 tomoyo_condition_type (const char *word );
π ARGUMENTS π
wordβ the keyword string. Thatβs the string being checked, periodt π«Ά
πΈ DESCRIPTION πΈ
tomoyo_condition_type takes your keyword string and returns the condition type. On success it returns one of the values in enum tomoyo_conditions_index β iconic π. If it canβt do that, it returns TOMOYO_MAX_CONDITION_KEYWORD instead, and thatβs the fallback vibe π.
π¦ SEE ALSO π¦
Kernel file ./security/tomoyo/condition.c β yes, thatβs the spot π
The related-call squad, fr fr:
tomoyo_argv(9)tomoyo_envp(9)tomoyo_scan_bprm(9)tomoyo_scan_exec_realpath(9)tomoyo_get_dqword(9)tomoyo_parse_name_union_quoted(9)tomoyo_parse_argv(9)tomoyo_parse_envp(9)tomoyo_same_condition(9)tomoyo_commit_condition(9)tomoyo_get_transit_preference(9)tomoyo_get_condition(9)tomoyo_get_attributes(9)tomoyo_condition(9)
mwah π this lil page comes from ./security/tomoyo, dated October 2026, and itβs literally tomoyo_condition_type(9) signing off πβ¨
π¦ 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