aa_perm_mask_to_str(9)
πΈ 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 thestrbuffer, 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 π¦
- Kernel file
./security/apparmor/lib.cval_mask_to_str(9) aa_destroy_str_table(9)skipn_spaces(9)aa_info_message(9)aa_apply_modes_to_perms(9)aa_check_perms(9)aa_policy_init(9)aa_policy_destroy(9)
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
- 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