tomoyo_envp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 of envp. 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 to true if envp[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:

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