apparmor: cleanup: move perm accumulation into perms.h
authorJohn Johansen <john.johansen@canonical.com>
Tue, 6 Sep 2022 06:57:51 +0000 (23:57 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 3 Oct 2022 21:49:04 +0000 (14:49 -0700)
commit3dfd16ab697ff23973b6fbb89808372bcd008dd1
tree29c100f578fcfa3a14cb2388d62df7131e434241
parent0bece4fa97a2bd397da66d4fced78f76eb214a3e
apparmor: cleanup: move perm accumulation into perms.h

Perm accumulation is going to be used much more frequently so let
the compiler figure out if it can be optimized when used.

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/include/perms.h
security/apparmor/lib.c