apparmor: cleanup: attachment perm lookup to use lookup_perms()
Remove another case of code duplications. Switch to using the generic
routine instead of the current custom checks.
Signed-off-by:
John Johansen <john.johansen@canonical.com>
Loading
Please sign in to comment