提交 7b5d781c 编写于 作者: D David Woodhouse

Fix oops due to thinko in avc_audit()

When I added the logging of pid= and comm= back to avc_audit() I 
screwed it up. Put it back how it should be.
Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
上级 326e9c8b
......@@ -558,7 +558,7 @@ void avc_audit(u32 ssid, u32 tsid,
audit_log_format(ab, " for ");
if (a && a->tsk)
tsk = a->tsk;
if (a->tsk && a->tsk->pid) {
if (tsk && tsk->pid) {
audit_log_format(ab, " pid=%d comm=", tsk->pid);
audit_log_untrustedstring(ab, tsk->comm);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册