tomoyo_env_perm(9)
π 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 tostruct 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 π
- Kernel file
./security/tomoyo/environ.c tomoyo_check_env_acl(9)tomoyo_audit_env_log(9)tomoyo_same_env_acl(9)tomoyo_write_env(9)tomoyo_write_misc(9)
xoxo, source/version: ./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