]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - security/security.c
LSM: Infrastructure management of the ipc security blob
authorCasey Schaufler <casey@schaufler-ca.com>
Tue, 20 Nov 2018 19:55:02 +0000 (11:55 -0800)
committerKees Cook <keescook@chromium.org>
Tue, 8 Jan 2019 21:18:45 +0000 (13:18 -0800)
commitecd5f82e05ddd9b06c258167ec7467ac79741d77
tree9cefea64fc40202a284fcb07ecf50f871f7562b0
parent019bcca4626a9ed119e1d9ebfadb9fdbdcf9b35b
LSM: Infrastructure management of the ipc security blob

Move management of the kern_ipc_perm->security and
msg_msg->security blobs 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