]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
selinux: Pass security pointer to determine_inode_label()
authorVivek Goyal <vgoyal@redhat.com>
Wed, 13 Jul 2016 14:44:51 +0000 (10:44 -0400)
committerPaul Moore <paul@paul-moore.com>
Tue, 9 Aug 2016 00:45:29 +0000 (20:45 -0400)
commitc957f6df52c509ccfbb96659fd1a0f7812de333f
treee26cd9e2b71530000a253d5d1fb6d8d49ce544e3
parent19472b69d639d58415866bf127d5f9005038c105
selinux: Pass security pointer to determine_inode_label()

Right now selinux_determine_inode_label() works on security pointer of
current task. Soon I need this to work on a security pointer retrieved
from a set of creds. So start passing in a pointer and caller can
decide where to fetch security pointer from.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/hooks.c