History

riscv: add audit support

On RISC-V (riscv) audit is supported through generic lib/audit.c. The patch adds required arch specific definitions.

David Abdurachmanov committed 8 years ago

Commit efe75c41 parent 8fe28cb6 files · +26 −2Browse files

Showing the changes to include/uapi/linux (1 of 6 files). Show all

Unified · Split

include/uapi/linux/audit.h+2−0
@@ -399,6 +399,8 @@ enum { · 398 unmodified lines
399399 /* do not define AUDIT_ARCH_PPCLE since it is not supported by audit */
400400 #define AUDIT_ARCH_PPC64 (EM_PPC64|__AUDIT_ARCH_64BIT)
401401 #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)
402404 #define AUDIT_ARCH_S390 (EM_S390)
403405 #define AUDIT_ARCH_S390X (EM_S390|__AUDIT_ARCH_64BIT)
404406 #define AUDIT_ARCH_SH (EM_SH)