val_mask_to_str(9)
π
val_mask_to_str(9) β Kernel API Manual π
okay so this is the Kernel API Manual page for val_mask_to_str(9), and it's literally here to help you turn a permission mask into its short string. iconic behavior, no cap β¨
πΈ NAME πΈ
val_mask_to_str β convert a perm mask to its short string π
β¨ SYNOPSIS β¨
int val_mask_to_str (char *str , size_t size , const struct
val_table_ent *table , u32 mask );
π ARGUMENTS π
strβ the character buffer where the string gets stored. bestie, it needs at least10characters of room πsizeβ the size of thestrbuffer, obviously π«Άtableβ aNUL-terminated character buffer of permission characters. and NOT NULL, okay? literally cannot be NULL πmaskβ the permission mask to convert. that's the whole vibe check π₯
π¦ SEE ALSO π¦
Kernel file ./security/apparmor/lib.c: aa_destroy_str_table(9), skipn_spaces(9), aa_info_message(9), aa_perm_mask_to_str(9), aa_apply_modes_to_perms(9), aa_check_perms(9), aa_policy_init(9), aa_policy_destroy(9) π
shoutout to the source/version ./security/apparmor and the date October 2026 β that's the footer energy, bestie, and it ate π
β¨
π¦ 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