apparmor: refactory mount to use check_perms

Move the mount permissions check to use the common backend
aa_check_perms() to check permissions. This will make it so caching,
audit, complain, logic can be handled consistently in a single place.

Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
John Johansen 2026-07-27 05:36:53 -07:00
commit 6c27cd23bd
4 changed files with 144 additions and 168 deletions