提交 5c5bc97e 编写于 作者: R Richard Guy Briggs 提交者: Paul Moore

lsm: rename duplicate labels in LSM_AUDIT_DATA_TASK audit message type

The LSM_AUDIT_DATA_TASK pid= and comm= labels are duplicates of those at the
start of this function with different values.  Rename them to their object
counterparts opid= and ocomm= to disambiguate.
Signed-off-by: NRichard Guy Briggs <rgb@redhat.com>
[PM: minor merging needed due to differences in the tree]
Signed-off-by: NPaul Moore <pmoore@redhat.com>
上级 39a88044
......@@ -281,7 +281,7 @@ static void dump_common_audit_data(struct audit_buffer *ab,
if (tsk) {
pid_t pid = task_pid_nr(tsk);
if (pid) {
audit_log_format(ab, " pid=%d comm=", pid);
audit_log_format(ab, " opid=%d ocomm=", pid);
audit_log_untrustedstring(ab, tsk->comm);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册