tomoyo_write_env(9)
π tomoyo_write_env(9) β Kernel API Manual π
πΈ NAME πΈ
okay so bestie, tomoyo_write_env is literally the function that writes the struct tomoyo_env_acl list. That's the whole assignment, and it ate. π
β¨ SYNOPSIS β¨
int tomoyo_write_env (struct tomoyo_acl_param *param );
π ARGUMENTS π
paramβ pointer tostruct tomoyo_acl_param. that's the input, bestie, no cap.
π₯ DESCRIPTION π₯
Returns 0 on success, and a negative value otherwise. periodt. β¨
Also, important vibe check: the caller holds tomoyo_read_lock. keep that in mind, okay? π«Ά
π SEE ALSO π
Kernel file ./security/tomoyo/environ.c is where the lore lives, and you should also peek at:
tomoyo_check_env_acl(9)tomoyo_audit_env_log(9)tomoyo_env_perm(9)tomoyo_same_env_acl(9)tomoyo_write_misc(9)
mwah π this page's source/version is ./security/tomoyo, and it's dated October 2026. bye bestie, go slay some kernel reading π¦π
π¦ 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