Merge "audit: Checks valid value of audit_signals and tsk->audit_context"
This commit is contained in:
commit
9b371fc84d
1 changed files with 3 additions and 2 deletions
|
@ -2248,10 +2248,11 @@ int __audit_signal_info(int sig, struct task_struct *t)
|
|||
audit_sig_uid = uid;
|
||||
security_task_getsecid(tsk, &audit_sig_sid);
|
||||
}
|
||||
if (!audit_signals || audit_dummy_context())
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!audit_signals || audit_dummy_context())
|
||||
return 0;
|
||||
|
||||
/* optimize the common case by putting first signal recipient directly
|
||||
* in audit_context */
|
||||
if (!ctx->target_pid) {
|
||||
|
|
Loading…
Add table
Reference in a new issue