On RISC-V (riscv) audit is supported through generic lib/audit.c. The patch adds required arch specific definitions.
Showing the changes to include/uapi (1 of 6 files). Show all
Unified · Split
| @@ -399,6 +399,8 @@ enum { · 398 unmodified lines | |||
| 399 | /* do not define AUDIT_ARCH_PPCLE since it is not supported by audit */ | 399 | /* do not define AUDIT_ARCH_PPCLE since it is not supported by audit */ |
| 400 | #define AUDIT_ARCH_PPC64 (EM_PPC64|__AUDIT_ARCH_64BIT) | 400 | #define AUDIT_ARCH_PPC64 (EM_PPC64|__AUDIT_ARCH_64BIT) |
| 401 | #define AUDIT_ARCH_PPC64LE (EM_PPC64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) | 401 | #define AUDIT_ARCH_PPC64LE (EM_PPC64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) |
| 402 | #define AUDIT_ARCH_RISCV32 (EM_RISCV|__AUDIT_ARCH_LE) | ||
| 403 | #define AUDIT_ARCH_RISCV64 (EM_RISCV|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) | ||
| 402 | #define AUDIT_ARCH_S390 (EM_S390) | 404 | #define AUDIT_ARCH_S390 (EM_S390) |
| 403 | #define AUDIT_ARCH_S390X (EM_S390|__AUDIT_ARCH_64BIT) | 405 | #define AUDIT_ARCH_S390X (EM_S390|__AUDIT_ARCH_64BIT) |
| 404 | #define AUDIT_ARCH_SH (EM_SH) | 406 | #define AUDIT_ARCH_SH (EM_SH) |