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

audit: add syscall information to FEATURE_CHANGE records

Tie syscall information to FEATURE_CHANGE calls since it is a result of
user action.

See: https://github.com/linux-audit/audit-kernel/issues/80Signed-off-by: NRichard Guy Briggs <rgb@redhat.com>
[PM: 80-char fixes]
Signed-off-by: NPaul Moore <paul@paul-moore.com>
上级 60cc43fc
...@@ -1099,8 +1099,8 @@ static void audit_log_feature_change(int which, u32 old_feature, u32 new_feature ...@@ -1099,8 +1099,8 @@ static void audit_log_feature_change(int which, u32 old_feature, u32 new_feature
if (audit_enabled == AUDIT_OFF) if (audit_enabled == AUDIT_OFF)
return; return;
ab = audit_log_start(current->audit_context,
ab = audit_log_start(NULL, GFP_KERNEL, AUDIT_FEATURE_CHANGE); GFP_KERNEL, AUDIT_FEATURE_CHANGE);
if (!ab) if (!ab)
return; return;
audit_log_task_info(ab, current); audit_log_task_info(ab, current);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册