apparmor: cleanup: attachment perm lookup to use lookup_perms()
authorJohn Johansen <john.johansen@canonical.com>
Thu, 17 Nov 2022 06:17:09 +0000 (22:17 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Sat, 18 Jan 2025 14:47:11 +0000 (06:47 -0800)
commit280799f724088ceea409564f4412181e354aba22
tree9681f9b890b33b80f5cdb04bbfb281da428104fd
parent71e6cff3e0dde6f6a3355d6c73ca3e176567995e
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>
security/apparmor/domain.c