apparmor: group dfa policydb unpacking
authorJohn Johansen <john.johansen@canonical.com>
Mon, 18 Jul 2022 23:53:17 +0000 (16:53 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 3 Oct 2022 21:49:03 +0000 (14:49 -0700)
commitad596ea74e746d60bb7e13f3adde097a08b2089b
treeaaaf53839d492a21ca3300e48305a8edf4c75214
parenta0792e2ceddc1bff8bda34a82b5ef7f00cbe7a9f
apparmor: group dfa policydb unpacking

There are currently three policydb rule groupings (xmatch, file,
policydb) that each do their own slightly different thing. Group them
into a single routine and unify.

This extends/unifies dfa features by
- all dfas are allowed having an optional start field
- all dfas are allowed having a string/transition table

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/policy_unpack.c