File Index
Files and directories
Sign in
FILE

audit_arch.h

File preview with syntax highlighting.

linux-6.19.14/include/linux/audit_arch.h C
 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
12enum 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
24extern int audit_classify_compat_syscall(int abi, unsigned syscall);
25
26/* only for compat system calls */
27extern unsigned compat_write_class[];
28extern unsigned compat_read_class[];
29extern unsigned compat_dir_class[];
30extern unsigned compat_chattr_class[];
31extern unsigned compat_signal_class[];
32
33#endif
~/ Read-only file preview.