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,9 +2248,10 @@ int __audit_signal_info(int sig, struct task_struct *t)
|
||||||
audit_sig_uid = uid;
|
audit_sig_uid = uid;
|
||||||
security_task_getsecid(tsk, &audit_sig_sid);
|
security_task_getsecid(tsk, &audit_sig_sid);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!audit_signals || audit_dummy_context())
|
if (!audit_signals || audit_dummy_context())
|
||||||
return 0;
|
return 0;
|
||||||
}
|
|
||||||
|
|
||||||
/* optimize the common case by putting first signal recipient directly
|
/* optimize the common case by putting first signal recipient directly
|
||||||
* in audit_context */
|
* in audit_context */
|
||||||
|
|
Loading…
Add table
Reference in a new issue