-
- Downloads
LSM: Add security module hook list heads
Add a list header for each security hook. They aren't used until later in the patch series. They are grouped together in a structure so that there doesn't need to be an external address for each. Macro-ize the initialization of the security_operations for each security module in anticipation of changing out the security_operations structure. Signed-off-by:Casey Schaufler <casey@schaufler-ca.com> Acked-by:
John Johansen <john.johansen@canonical.com> Acked-by:
Kees Cook <keescook@chromium.org> Acked-by:
Paul Moore <paul@paul-moore.com> Acked-by:
Stephen Smalley <sds@tycho.nsa.gov> Acked-by:
Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by:
James Morris <james.l.morris@oracle.com>
Showing
- include/linux/lsm_hooks.h 220 additions, 0 deletionsinclude/linux/lsm_hooks.h
- security/apparmor/lsm.c 42 additions, 42 deletionssecurity/apparmor/lsm.c
- security/selinux/hooks.c 201 additions, 197 deletionssecurity/selinux/hooks.c
- security/smack/smack_lsm.c 129 additions, 129 deletionssecurity/smack/smack_lsm.c
- security/tomoyo/tomoyo.c 29 additions, 29 deletionssecurity/tomoyo/tomoyo.c
- security/yama/yama_lsm.c 5 additions, 5 deletionssecurity/yama/yama_lsm.c
Loading
Please register or sign in to comment