]> git.baikalelectronics.ru Git - kernel.git/commit
audit: deliver signal_info regarless of syscall
authorRichard Guy Briggs <rgb@redhat.com>
Fri, 10 May 2019 16:21:49 +0000 (12:21 -0400)
committerPaul Moore <paul@paul-moore.com>
Wed, 22 May 2019 02:18:25 +0000 (22:18 -0400)
commitc4874a2dd740676b4269ae6e94ad747a5f3dae9b
tree025ceffb2d6792a15b495c64d9de565c5baf2c9d
parentb48e0d7fe5b5eb1732dfe0b8057a6c721c42f2d4
audit: deliver signal_info regarless of syscall

When a process signals the audit daemon (shutdown, rotate, resume,
reconfig) but syscall auditing is not enabled, we still want to know the
identity of the process sending the signal to the audit daemon.

Move audit_signal_info() out of syscall auditing to general auditing but
create a new function audit_signal_info_syscall() to take care of the
syscall dependent parts for when syscall auditing is enabled.

Please see the github kernel audit issue
https://github.com/linux-audit/audit-kernel/issues/111

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
include/linux/audit.h
kernel/audit.c
kernel/audit.h
kernel/auditsc.c
kernel/signal.c