Smack: Abstract use of ipc security blobs
authorCasey Schaufler <casey@schaufler-ca.com>
Sat, 22 Sep 2018 00:19:54 +0000 (17:19 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 8 Jan 2019 21:18:45 +0000 (13:18 -0800)
commit019bcca4626a9ed119e1d9ebfadb9fdbdcf9b35b
treee6f19e844748ee33d6b78a9cae1169ad2494f669
parent7c6538280ae99eaebd589a5c029e1ed1c063909c
Smack: Abstract use of ipc security blobs

Don't use the ipc->security pointer directly.
Don't use the msg_msg->security pointer directly.
Provide helper functions that provides the security blob pointers.

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
security/smack/smack.h
security/smack/smack_lsm.c