summaryrefslogtreecommitdiffstats
path: root/security/apparmor
diff options
context:
space:
mode:
authorKees Cook2018-09-20 01:16:55 +0200
committerKees Cook2019-01-08 22:18:42 +0100
commit657d910b52a38c5e0d753c2a5448c6ae26ec85d0 (patch)
tree16ff3ff6052bf1264301cf27164690e5df7e672c /security/apparmor
parentLSM: Introduce LSM_FLAG_LEGACY_MAJOR (diff)
downloadkernel-qcow2-linux-657d910b52a38c5e0d753c2a5448c6ae26ec85d0.tar.gz
kernel-qcow2-linux-657d910b52a38c5e0d753c2a5448c6ae26ec85d0.tar.xz
kernel-qcow2-linux-657d910b52a38c5e0d753c2a5448c6ae26ec85d0.zip
LSM: Provide separate ordered initialization
This provides a place for ordered LSMs to be initialized, separate from the "major" LSMs. This is mainly a copy/paste from major_lsm_init() to ordered_lsm_init(), but it will change drastically in later patches. What is not obvious in the patch is that this change moves the integrity LSM from major_lsm_init() into ordered_lsm_init(), since it is not marked with the LSM_FLAG_LEGACY_MAJOR. As it is the only LSM in the "ordered" list, there is no reordering yet created. Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Casey Schaufler <casey@schaufler-ca.com> Reviewed-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor')
0 files changed, 0 insertions, 0 deletions