tomoyo_argv(9)
π NAME π
tomoyo_argv(9) β from the Kernel API Manual β is the function that checks argv[] in "struct linux_binbrm". Slay, bestie, we're getting into the argument-checking lore π
β¨ SYNOPSIS β¨
bool tomoyo_argv (const unsigned int index , const char *arg_ptr , const
int argc , const struct tomoyo_argv *argv , u8 *checked );
πΈ ARGUMENTS πΈ
indexβ the index number ofarg_ptr. Literally its little coordinate in the list πarg_ptrβ the contents ofargv[index], aka the argument string itself β¨argcβ the length ofargv, so we know how many besties are in the lineup π«Άargvβ pointer to"struct tomoyo_argv"π¦checkedβ gets set totrueifargv[index]was found. Found bestie = flag flipped π
π¦ DESCRIPTION π¦
Returns true on success, false otherwise. That's the whole vibe check, no cap π
π₯ SEE ALSO π₯
Kernel file ./security/tomoyo/condition.c β and the whole squad is:
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)tomoyo_condition(9)
okay bye bestie π«Ά this one is from ./security/tomoyo, dated October 2026 πβ¨
π¦ 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