]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
SELinux: Abstract use of ipc security blobs
authorCasey Schaufler <casey@schaufler-ca.com>
Sat, 22 Sep 2018 00:19:45 +0000 (17:19 -0700)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 26 Mar 2019 14:54:19 +0000 (09:54 -0500)
commitdba6aa1c29ac4bb471ef068a0f961b7865b312f4
treeecfb35c6ed6bf72764cbe56e283cd0cc190e026a
parent79b9bb38782d5508e66ea4b7aab26aef01bafec0
SELinux: 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>
(cherry picked from commit 7c6538280ae99eaebd589a5c029e1ed1c063909c)
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
security/selinux/hooks.c
security/selinux/include/objsec.h