apparmor: rework profile->rules to be a list
authorJohn Johansen <john.johansen@canonical.com>
Tue, 6 Sep 2022 03:47:36 +0000 (20:47 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 3 Oct 2022 21:49:04 +0000 (14:49 -0700)
commit1ad22fcc4d0d2fb2e0f35aed555a86d016d5e590
tree5cf7b9f785d46441d3c184a3097659eb7c2574ac
parent217af7e2f4deb629aaa49622685ccfee923898ca
apparmor: rework profile->rules to be a list

Convert profile->rules to a list as the next step towards supporting
multiple rulesets in a profile. For this step only support a single
list entry item. The logic for iterating the list will come as a
separate step.

Signed-off-by: John Johansen <john.johansen@canonical.com>
15 files changed:
security/apparmor/apparmorfs.c
security/apparmor/capability.c
security/apparmor/domain.c
security/apparmor/file.c
security/apparmor/include/policy.h
security/apparmor/ipc.c
security/apparmor/lib.c
security/apparmor/lsm.c
security/apparmor/mount.c
security/apparmor/net.c
security/apparmor/policy.c
security/apparmor/policy_ns.c
security/apparmor/policy_unpack.c
security/apparmor/resource.c
security/apparmor/task.c