TOMOYO: Abstract use of cred security blob
authorCasey Schaufler <casey@schaufler-ca.com>
Sat, 22 Sep 2018 00:18:07 +0000 (17:18 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 8 Jan 2019 21:18:44 +0000 (13:18 -0800)
commit43fc460907dc56a3450654efc6ba1dfbcd4594eb
treedb944e38f3908e790d8d577e10d23a0f7bf02b68
parent69b5a44a95bb86f3ad8a50bf2e354057ec450082
TOMOYO: Abstract use of cred security blob

Don't use the cred->security pointer directly.
Provide helper functions that provide the security blob pointer.

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>
security/tomoyo/common.h
security/tomoyo/domain.c
security/tomoyo/securityfs_if.c
security/tomoyo/tomoyo.c