* 'audit.b38' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current: [PATCH] Abnormal End of Processes [PATCH] match audit name data [PATCH] complete message queue auditing [PATCH] audit inode for all xattr syscalls [PATCH] initialize name osid [PATCH] audit signal recipients [PATCH] add SIGNAL syscall class (v3) [PATCH] auditing ptrace
Showing the changes to lib (1 of 22 files). Show all
Unified · Split
| @@ -23,6 +23,16 @@ static unsigned chattr_class[] = { · 22 unmodified lines | ||
| 23 | 23 | ~0U |
| 24 | 24 | }; |
| 25 | 25 | |
| 26 | +static unsigned signal_class[] = { | |
| 27 | +#include <asm-generic/audit_signal.h> | |
| 28 | +~0U | |
| 29 | +}; | |
| 30 | + | |
| 31 | +int audit_classify_arch(int arch) | |
| 32 | +{ | |
| 33 | + return 0; | |
| 34 | +} | |
| 35 | + | |
| 26 | 36 | int audit_classify_syscall(int abi, unsigned syscall) |
| 27 | 37 | { |
| 28 | 38 | switch(syscall) { |
| @@ -49,6 +59,7 @@ static int __init audit_classes_init(void) · 20 unmodified lines | ||
| 49 | 59 | audit_register_class(AUDIT_CLASS_READ, read_class); |
| 50 | 60 | audit_register_class(AUDIT_CLASS_DIR_WRITE, dir_class); |
| 51 | 61 | audit_register_class(AUDIT_CLASS_CHATTR, chattr_class); |
| 62 | + audit_register_class(AUDIT_CLASS_SIGNAL, signal_class); | |
| 52 | 63 | return 0; |
| 53 | 64 | } |
| 54 | 65 | |