]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
UBUNTU: SAUCE: LSM: Infrastructure management of the sock security
authorCasey Schaufler <casey@schaufler-ca.com>
Wed, 1 Jul 2020 19:59:27 +0000 (12:59 -0700)
committerAndrea Righi <andrea.righi@canonical.com>
Thu, 9 Mar 2023 14:57:23 +0000 (15:57 +0100)
commitccc4609a5a192589e7dc07fc52c8eca84b53a267
treecd706601289af0a2ccf22c5b2ee73c9b1662bbc2
parentdcc36af68f149043375a79a7302c7fb0162099e9
UBUNTU: SAUCE: LSM: Infrastructure management of the sock security

Move management of the sock->sk_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.

Acked-by: Paul Moore <paul@paul-moore.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: John Johansen <john.johansen@canonical.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
include/linux/lsm_hooks.h
security/apparmor/include/net.h
security/apparmor/lsm.c
security/security.c
security/selinux/hooks.c
security/selinux/include/objsec.h
security/selinux/netlabel.c
security/smack/smack.h
security/smack/smack_lsm.c
security/smack/smack_netfilter.c