CRED: Wrap access to SELinux's task SID
authorDavid Howells <dhowells@redhat.com>
Thu, 13 Nov 2008 23:39:19 +0000 (10:39 +1100)
committerJames Morris <jmorris@namei.org>
Thu, 13 Nov 2008 23:39:19 +0000 (10:39 +1100)
commit275bb41e9d058fbb327e7642f077e1beaeac162e
tree049fdbb39ca43e7b3b9abf36ad279b31488121bc
parentc69e8d9c01db2adc503464993c358901c9af9de4
CRED: Wrap access to SELinux's task SID

Wrap access to SELinux's task SID, using task_sid() and current_sid() as
appropriate.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/hooks.c