LSM: Build ordered list of LSMs to initialize
authorKees Cook <keescook@chromium.org>
Wed, 19 Sep 2018 23:58:31 +0000 (16:58 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 8 Jan 2019 21:18:42 +0000 (13:18 -0800)
commit2d4d51198c730adbbc5e071b18c84e5d0d2d65df
treef3c9c1306ab7f7feb862863b03c3c7c4be9dc35e
parentf4941d75b9cba5e1fae1aebe0139dcca0703a294
LSM: Build ordered list of LSMs to initialize

This constructs an ordered list of LSMs to initialize, using a hard-coded
list of only "integrity": minor LSMs continue to have direct hook calls,
and major LSMs continue to initialize separately.

Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
security/security.c