summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2026-07-28 13:57:10 -0700
committerJohn Johansen <john.johansen@canonical.com>2026-08-10 22:49:42 -0700
commite3bc982007fe5e704c6a7f5a189502ece056f68d (patch)
treef6e5248246c9ac207ad1e36a0d1bc0f3d9642348 /include/linux
parentecafacef162fc7b79b49391084b04fb04ea64f37 (diff)
apparmor: constify aa_perms parameters that are read-only
Several functions take a struct aa_perms * argument that is only ever read from and never modified through the pointer. Mark those parameters const struct aa_perms * to document intent and let the compiler enforce that the permission set is not mutated. The converted functions are: - aa_check_perms() - aa_do_perms() - do_perms() (af_inet) - match_label() (af_unix) - verify_perm() - aa_perms_accum() / aa_perms_accum_raw() (@addend only) No functional change. Signed-off-by: John Johansen <john.johansen@canonical.com> Assisted-by: Claude:claude-opus-4.8
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions