aa_perm_mask_to_str(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

aa_perm_mask_to_str β€” convert a perm mask to its short string

okay so bestie, welcome to the aa_perm_mask_to_str(9) page from the Kernel API Manual ✨ this one is literally about converting a perm mask to its short string, and it's giving very specific-buffer-energy πŸ’…

✨ SYNOPSIS ✨

void aa_perm_mask_to_str (char *str , size_t str_size , const char *chrs , u32 mask );

No cap, that's the whole signature: it returns void, takes four args, and we're about to go through each one like a group-chat roll call 🫢

🫢 ARGUMENTS 🫢

  • str β€” character buffer to store string in (at least 10 characters). Bestie, the page literally says at least 10 characters, so don't skimp on that buffer 😭
  • str_size β€” size of the str buffer, periodt.
  • chrs β€” NUL-terminated character buffer of permission characters. It's the character source, iykyk.
  • mask β€” permission mask to convert. This is the mask getting the short-string treatment ✨

πŸ”₯ SEE ALSO πŸ”₯

go read these too, bestie πŸ¦‹

and that's the whole page, bestie πŸŽ€ source/version is ./security/apparmor, dated October 2026, for aa_perm_mask_to_str(9). bye and hydrate! πŸ’–

πŸ“¦ where this page comes from