aa_map_file_to_perms(9)
β¨ NAME β¨
okay bestie, welcome to aa_map_file_to_perms(9) from the Kernel API Manual π
this one is lowkey the translator between file flags and AppArmor permissions:
aa_map_file_to_permsβ map file flags to AppArmor permissions π«Ά
πΈ SYNOPSIS πΈ
u32 aa_map_file_to_perms (struct file *file );
π ARGUMENTS π
fileβ the open file to map flags to AppArmor permissions β¨
π RETURN π
Returns the apparmor permission set for the file π₯
π SEE ALSO π
- Kernel file
./security/apparmor/include/file.hπ¦
xoxo, your Unix bestie π β this cutie is a Kernel file from ./security/apparmor/include/file.h, living under ./security/apparmor/include, 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