diff options
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r-- | kernel/auditsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index 4699950e65bd..580a5389fd99 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c | |||
@@ -2375,7 +2375,7 @@ int __audit_signal_info(int sig, struct task_struct *t) | |||
2375 | struct audit_context *ctx = tsk->audit_context; | 2375 | struct audit_context *ctx = tsk->audit_context; |
2376 | 2376 | ||
2377 | if (audit_pid && t->tgid == audit_pid) { | 2377 | if (audit_pid && t->tgid == audit_pid) { |
2378 | if (sig == SIGTERM || sig == SIGHUP || sig == SIGUSR1) { | 2378 | if (sig == SIGTERM || sig == SIGHUP || sig == SIGUSR1 || sig == SIGUSR2) { |
2379 | audit_sig_pid = tsk->pid; | 2379 | audit_sig_pid = tsk->pid; |
2380 | if (tsk->loginuid != -1) | 2380 | if (tsk->loginuid != -1) |
2381 | audit_sig_uid = tsk->loginuid; | 2381 | audit_sig_uid = tsk->loginuid; |