aa_map_file_to_perms(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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