tomoyo_env_perm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– tomoyo_env_perm(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” this page is all about tomoyo_env_perm, and it's giving tiny permission-check energy ✨. let's get into it.


πŸŽ€ NAME πŸŽ€

tomoyo_env_perm β€” checks permission for an environment variable's name. that's the whole vibe check, no cap πŸ’…

🌸 SYNOPSIS 🌸

int tomoyo_env_perm (struct tomoyo_request_info *r , const char *env );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • r β€” pointer to struct tomoyo_request_info. yes, that exact struct, bestie 🫢
  • env β€” the name of environment variable. literally the env name we're checking πŸ’–

✨ DESCRIPTION ✨

Returns 0 on success, negative value otherwise. so like, 0 = slay, negative = not slay 😭

Caller holds tomoyo_read_lock. that's the lock situation β€” caller's holding it πŸ”₯

πŸ’œ SEE ALSO πŸ’œ


xoxo, source/version: ./security/tomoyo β€” dated October 2026 πŸŽ€πŸ’–

πŸ“¦ where this page comes from