diff options
author | John Johansen <john.johansen@canonical.com> | 2022-08-22 07:48:32 +0200 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2022-10-03 23:49:03 +0200 |
commit | caa9f579ca7255e9d6c25f072447d895c5928c97 (patch) | |
tree | b9751e8f8fa2b95416d6e2691c54ef2ac6dca4a7 /security/apparmor/include/policy_unpack.h | |
parent | apparmor: extend xindex size (diff) | |
download | linux-caa9f579ca7255e9d6c25f072447d895c5928c97.tar.xz linux-caa9f579ca7255e9d6c25f072447d895c5928c97.zip |
apparmor: isolate policy backwards compatibility to its own file
The details of mapping old policy into newer policy formats clutters
up the unpack code and makes it possible to accidentally use old
mappings in code, so isolate the mapping code into its own file.
This will become more important when the dfa remapping code lands,
as it will greatly expand the compat code base.
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include/policy_unpack.h')
-rw-r--r-- | security/apparmor/include/policy_unpack.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/include/policy_unpack.h b/security/apparmor/include/policy_unpack.h index eb5f7d7f132b..cdfbc8a54a9d 100644 --- a/security/apparmor/include/policy_unpack.h +++ b/security/apparmor/include/policy_unpack.h @@ -16,6 +16,7 @@ #include <linux/dcache.h> #include <linux/workqueue.h> + struct aa_load_ent { struct list_head list; struct aa_profile *new; |