apparmor: refactor profile rules and attachments
authorJohn Johansen <john.johansen@canonical.com>
Sat, 30 Jul 2022 00:17:31 +0000 (17:17 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 3 Oct 2022 21:49:04 +0000 (14:49 -0700)
commit217af7e2f4deb629aaa49622685ccfee923898ca
tree02cec1dca247db53b3cd4acb711d2a77b512ab12
parent3bf3d728a58d7dcf2bbf179e3263fb8651f6097b
apparmor: refactor profile rules and attachments

In preparation for moving from a single set of rules and a single
attachment to multiple rulesets and attachments separate from the
profile refactor attachment information and ruleset info into their
own structures.

Signed-off-by: John Johansen <john.johansen@canonical.com>
18 files changed:
security/apparmor/apparmorfs.c
security/apparmor/capability.c
security/apparmor/domain.c
security/apparmor/file.c
security/apparmor/include/label.h
security/apparmor/include/perms.h
security/apparmor/include/policy.h
security/apparmor/ipc.c
security/apparmor/label.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