| static unsigned dir_class[] = { |
| #include <asm-generic/audit_dir_write.h> |
| static unsigned read_class[] = { |
| #include <asm-generic/audit_read.h> |
| static unsigned write_class[] = { |
| #include <asm-generic/audit_write.h> |
| static unsigned chattr_class[] = { |
| #include <asm-generic/audit_change_attr.h> |
| static unsigned signal_class[] = { |
| #include <asm-generic/audit_signal.h> |
| int audit_classify_arch(int arch) |
| int audit_classify_syscall(int abi, unsigned syscall) |
| static int __init audit_classes_init(void) |
| audit_register_class(AUDIT_CLASS_WRITE, write_class); |
| audit_register_class(AUDIT_CLASS_READ, read_class); |
| audit_register_class(AUDIT_CLASS_DIR_WRITE, dir_class); |
| audit_register_class(AUDIT_CLASS_CHATTR, chattr_class); |
| audit_register_class(AUDIT_CLASS_SIGNAL, signal_class); |
| __initcall(audit_classes_init); |