map_old_perms(9)
π NAME π
okay so bestie, welcome to the map_old_perms(9) page from the Kernel API Manual β this one maps the old file perms layout to the new layout. no cap, thatβs literally its whole job. β¨
β¨ SYNOPSIS β¨
u32 map_old_perms (u32 old );
π ARGUMENTS π
oldβ permission set in old mapping. thatβs the old-layout perms youβre handing over, bestie π
π¦ RETURN π¦
new permission mapping. thatβs what comes back out, periodt π
π SEE ALSO π
- Kernel file
./security/apparmor/policy_compat.c compute_fperms(9)remap_dfa_accept(9)
π«Ά thatβs the whole page, bestie β the source/version footer says ./security/apparmor, dated October 2026, and yeah, itβs the map_old_perms(9) era. π
π¦ 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