Infrastructure management of the cred security blob
authorCasey Schaufler <casey@schaufler-ca.com>
Mon, 12 Nov 2018 17:30:56 +0000 (09:30 -0800)
committerKees Cook <keescook@chromium.org>
Tue, 8 Jan 2019 21:18:44 +0000 (13:18 -0800)
commitbbd3662a834813730912a58efb44dd6df6d952e6
treef4c0252814e717185845bde03fe88d341d5967b5
parent43fc460907dc56a3450654efc6ba1dfbcd4594eb
Infrastructure management of the cred security blob

Move management of the cred security blob out of the
security modules and into the security infrastructre.
Instead of allocating and freeing space the security
modules tell the infrastructure how much space they
require.

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/apparmor/include/cred.h
security/apparmor/include/lib.h
security/apparmor/lsm.c
security/security.c
security/selinux/hooks.c
security/selinux/include/objsec.h
security/smack/smack.h
security/smack/smack_lsm.c
security/tomoyo/common.h
security/tomoyo/tomoyo.c