]> git.baikalelectronics.ru Git - kernel.git/commit
Creds: creds->security can be NULL is selinux is disabled
authorEric Paris <eparis@redhat.com>
Sun, 13 Sep 2009 02:54:10 +0000 (22:54 -0400)
committerJames Morris <jmorris@namei.org>
Mon, 14 Sep 2009 02:34:07 +0000 (12:34 +1000)
commit93e7791ccfcbcffee1d11e5da7e7e5f3facaf393
treecdcd1715445aa19051b6a9a671b39250a449333a
parent47f5141d4c428db147fb6af4c79eba742806252c
Creds: creds->security can be NULL is selinux is disabled

__validate_process_creds should check if selinux is actually enabled before
running tests on the selinux portion of the credentials struct.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/cred.h
include/linux/selinux.h
security/selinux/exports.c