diff options
author | Stephen Smalley | 2005-04-18 10:47:35 -0700 |
---|---|---|
committer | Linus Torvalds | 2005-04-18 10:47:35 -0700 |
commit | 219f0817038cabc722968e914490adf6b686499e (patch) | |
tree | 13b64537abe906645ee22843e146e21958236219 /kernel/kfifo.c | |
parent | 865108d13801d39ec038bdc82b5bec5e1eaffa9d (diff) |
[PATCH] SELinux: fix deadlock on dcache lock
This fixes a deadlock on the dcache lock detected during testing at IBM
by moving the logging of the current executable information from the
SELinux avc_audit function to audit_log_exit (via an audit_log_task_info
helper) for processing upon syscall exit.
For consistency, the patch also removes the logging of other
task-related information from avc_audit, deferring handling to
audit_log_exit instead.
This allows simplification of the avc_audit code, allows the exe
information to be obtained more reliably, always includes the comm
information (useful for scripts), and avoids including bogus task
information for checks performed from irq or softirq.
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/kfifo.c')
0 files changed, 0 insertions, 0 deletions