]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - security/security.c
LSM: Infrastructure management of the inode security
authorCasey Schaufler <casey@schaufler-ca.com>
Sat, 22 Sep 2018 00:19:29 +0000 (17:19 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 8 Jan 2019 21:18:45 +0000 (13:18 -0800)
commitafb1cbe37440c7f38b9cf46fc331cc9dfd5cce21
tree050d1e2575f9a79e20c67634660aef927981694c
parentfb4021b6fb5818df1228a35b7e2645038d01bb9f
LSM: Infrastructure management of the inode security

Move management of the inode->i_security blob out
of the individual security modules and into the security
infrastructure. Instead of allocating the blobs from within
the modules the modules tell the infrastructure how much
space is required, and the space is allocated there.

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
[kees: adjusted for ordered init series]
Signed-off-by: Kees Cook <keescook@chromium.org>
include/linux/lsm_hooks.h
security/security.c
security/selinux/hooks.c
security/selinux/include/objsec.h
security/smack/smack.h
security/smack/smack_lsm.c