xref: /linux/include/linux/audit_arch.h (revision e455ca40)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* audit_arch.h -- Arch layer specific support for audit
3  *
4  * Copyright 2021 Red Hat Inc., Durham, North Carolina.
5  * All Rights Reserved.
6  *
7  * Author: Richard Guy Briggs <rgb@redhat.com>
8  */
9 #ifndef _LINUX_AUDIT_ARCH_H_
10 #define _LINUX_AUDIT_ARCH_H_
11 
12 enum auditsc_class_t {
13 	AUDITSC_NATIVE = 0,
14 	AUDITSC_COMPAT,
15 	AUDITSC_OPEN,
16 	AUDITSC_OPENAT,
17 	AUDITSC_SOCKETCALL,
18 	AUDITSC_EXECVE,
19 	AUDITSC_OPENAT2,
20 
21 	AUDITSC_NVALS /* count */
22 };
23 
24 extern int audit_classify_compat_syscall(int abi, unsigned syscall);
25 
26 #endif
27