tomoyo_condition(9)
π tomoyo_condition(9) π
okay bestie, welcome to the Kernel API Manual β we're looking at tomoyo_condition(9), and it's lowkey giving βyes/no iconβ energy. β¨
πΈ NAME πΈ
tomoyo_condition β check the condition part, bestie. π
β¨ SYNOPSIS β¨
bool tomoyo_condition (struct tomoyo_request_info *r , const struct
tomoyo_condition *cond );
That's the whole signature, no cap. π«Ά
π ARGUMENTS π
rβ pointer to"struct tomoyo_request_info". That's the request-info struct, periodt. πcondβ pointer to"struct tomoyo_condition". MaybeNULL. π
π¦ DESCRIPTION π¦
It returns true on success and false otherwise β literally a vibe check in bool form. β
π
Also: the caller holds tomoyo_read_lock. That part is important, bestie β don't forget it. πβ¨
π SEE ALSO π
The kernel file is ./security/tomoyo/condition.c, and here's the whole squad:
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_condition_type(9)tomoyo_commit_condition(9)tomoyo_get_transit_preference(9)tomoyo_get_condition(9)tomoyo_get_attributes(9)
mwah π β signing off from the ./security/tomoyo source corner, dated October 2026, on tomoyo_condition(9). π«Άπ
π¦ 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