diff options
-rw-r--r-- | security/selinux/avc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/avc.c b/security/selinux/avc.c index 0fbc3e98c5ea..914d0d294fff 100644 --- a/security/selinux/avc.c +++ b/security/selinux/avc.c | |||
@@ -558,7 +558,7 @@ void avc_audit(u32 ssid, u32 tsid, | |||
558 | audit_log_format(ab, " for "); | 558 | audit_log_format(ab, " for "); |
559 | if (a && a->tsk) | 559 | if (a && a->tsk) |
560 | tsk = a->tsk; | 560 | tsk = a->tsk; |
561 | if (a->tsk && a->tsk->pid) { | 561 | if (tsk && tsk->pid) { |
562 | audit_log_format(ab, " pid=%d comm=", tsk->pid); | 562 | audit_log_format(ab, " pid=%d comm=", tsk->pid); |
563 | audit_log_untrustedstring(ab, tsk->comm); | 563 | audit_log_untrustedstring(ab, tsk->comm); |
564 | } | 564 | } |