]> git.baikalelectronics.ru Git - kernel.git/commit
Audit: send signal info if selinux is disabled
authorEric Paris <eparis@redhat.com>
Wed, 23 Sep 2009 17:46:00 +0000 (13:46 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 24 Sep 2009 07:50:26 +0000 (03:50 -0400)
commitc1b9842cb7211cf8bb19f43953f00d9178a6b896
tree598b4ec56e0bef7d76a8a32136c24348d387756d
parent1045811a2b464c70b3ed147e959e3f260e0738ea
Audit: send signal info if selinux is disabled

Audit will not respond to signal requests if selinux is disabled since it is
unable to translate the 0 sid from the sending process to a context.  This
patch just doesn't send the context info if there isn't any.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/audit.c