]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
Smack: Abstract use of cred security blob
authorCasey Schaufler <casey@schaufler-ca.com>
Sat, 10 Nov 2018 00:12:56 +0000 (16:12 -0800)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 26 Mar 2019 14:54:18 +0000 (09:54 -0500)
commit11a6b12cdfad66eebfa152e2846ea00c13697147
tree8cbe2ba3ec6a68fc415f12944543751125d813ae
parent65324255542a35c905f9ae579be7a36e666b05bf
Smack: Abstract use of cred security blob

Don't use the cred->security pointer directly.
Provide a helper function that provides 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>
(cherry picked from commit b17103a8b8ae9c9ecc5e1e6501b1478ee2dc6fe4)
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
security/smack/smack.h
security/smack/smack_access.c
security/smack/smack_lsm.c
security/smack/smackfs.c