aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/auditsc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index 5fc4f52d218f..b45677eba78f 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -650,7 +650,8 @@ static void audit_log_task_info(struct audit_buffer *ab)
650 struct vm_area_struct *vma; 650 struct vm_area_struct *vma;
651 651
652 get_task_comm(name, current); 652 get_task_comm(name, current);
653 audit_log_format(ab, " comm=%s", name); 653 audit_log_format(ab, " comm=");
654 audit_log_untrustedstring(ab, name);
654 655
655 if (!mm) 656 if (!mm)
656 return; 657 return;