mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 23:21:46 +00:00
AUDIT: No really, we don't want to audit auditd.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
9470178e62
commit
9e94e66a5b
1 changed files with 1 additions and 1 deletions
|
@ -573,7 +573,7 @@ static inline struct audit_context *audit_get_context(struct task_struct *tsk,
|
||||||
context->return_valid = return_valid;
|
context->return_valid = return_valid;
|
||||||
context->return_code = return_code;
|
context->return_code = return_code;
|
||||||
|
|
||||||
if (context->in_syscall && !context->auditable) {
|
if (context->in_syscall && !context->auditable && tsk->pid != audit_pid) {
|
||||||
enum audit_state state;
|
enum audit_state state;
|
||||||
state = audit_filter_syscall(tsk, context, &audit_filter_list[AUDIT_FILTER_EXIT]);
|
state = audit_filter_syscall(tsk, context, &audit_filter_list[AUDIT_FILTER_EXIT]);
|
||||||
if (state == AUDIT_RECORD_CONTEXT)
|
if (state == AUDIT_RECORD_CONTEXT)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue