tomoyo_envp(9)
πΈ tomoyo_envp π
okay bestie, welcome to tomoyo_envp β it's a kernel-API girlie from the Kernel API Manual, and she's here to check envp[] inside "struct linux_binbrm". yes, that's the whole gig. she's focused, she's specific, and she's literally carrying the environment-variable inspection arc. π
β¨ SYNOPSIS β¨
bool tomoyo_envp (const char *env_name , const char *env_value , const
int envc , const struct tomoyo_envp *envp , u8 *checked );
that's the full signature, no cap β copy it exactly if you're writing code, because we do not improvise function calls in this house. π«Ά
π§ ARGUMENTS π§
env_nameβ the name of the environment variable. the name-name. the main character string. πenv_valueβ the value of that environment variable. the actual contents, the vibe inside the envelope. β¨envcβ length ofenvp. how many entries we're looking at, so nobody wanders off the end of the array. πenvpβ pointer to"struct tomoyo_envp". the array in question, absolutely iconic. π¦checkedβ set totrueifenvp[env_name]was found. so after the call, this little guy tells you whether the lookup actually hit. lowkey the most useful part ngl. β
π DESCRIPTION π
returns true on success, false otherwise.
that's it. that's the description. she's a simple girl with a bool return type and she ate. π
π₯ SEE ALSO π₯
kernel file ./security/tomoyo/condition.c β and honestly the whole friend group is in there:
tomoyo_argv(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)tomoyo_condition(9)
every single one, linked and accounted for. go read them, iykyk. π
reminder bestie: this is tomoyo_envp(9), section 9, kernel API territory. if you were looking for a userspace command, you're in the wrong group chat. π
okay that's the whole page, mwah π β sourced from ./security/tomoyo, dated October 2026, and filed under the page name tomoyo_envp(9). slay, go check those env vars. π
π¦ 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