From 686b4f4e7f2cc0fb4cb637225692a344f7d14837 Mon Sep 17 00:00:00 2001 From: Eugene Syromyatnikov Date: Sun, 25 Nov 2018 16:51:14 +0100 Subject: [PATCH] xlat: update audit_arch.in * xlat/audit_arch.in: Add fallback definitions. (__AUDIT_ARCH_CONVENTION_MIPS64_N32, __AUDIT_ARCH_64BIT, __AUDIT_ARCH_LE): New macros. (AUDIT_ARCH_V850): New constant. Co-Authored-by: Dmitry V. Levin --- xlat/audit_arch.in | 113 +++++++++++++++++++++++++-------------------- 1 file changed, 62 insertions(+), 51 deletions(-) diff --git a/xlat/audit_arch.in b/xlat/audit_arch.in index b63c8cfa..63d3fe52 100644 --- a/xlat/audit_arch.in +++ b/xlat/audit_arch.in @@ -1,51 +1,62 @@ -AUDIT_ARCH_AARCH64 -AUDIT_ARCH_ALPHA -AUDIT_ARCH_ARCOMPACT -AUDIT_ARCH_ARCOMPACTBE -AUDIT_ARCH_ARCV2 -AUDIT_ARCH_ARCV2BE -AUDIT_ARCH_ARM -AUDIT_ARCH_ARMEB -AUDIT_ARCH_C6X -AUDIT_ARCH_C6XBE -AUDIT_ARCH_CRIS -AUDIT_ARCH_CSKY -AUDIT_ARCH_FRV -AUDIT_ARCH_H8300 -AUDIT_ARCH_HEXAGON -AUDIT_ARCH_I386 -AUDIT_ARCH_IA64 -AUDIT_ARCH_M32R -AUDIT_ARCH_M68K -AUDIT_ARCH_MICROBLAZE -AUDIT_ARCH_MIPS -AUDIT_ARCH_MIPS64 -AUDIT_ARCH_MIPS64N32 -AUDIT_ARCH_MIPSEL -AUDIT_ARCH_MIPSEL64 -AUDIT_ARCH_MIPSEL64N32 -AUDIT_ARCH_NDS32 -AUDIT_ARCH_NDS32BE -AUDIT_ARCH_NIOS2 -AUDIT_ARCH_OPENRISC -AUDIT_ARCH_PARISC -AUDIT_ARCH_PARISC64 -AUDIT_ARCH_PPC -AUDIT_ARCH_PPC64 -AUDIT_ARCH_PPC64LE -AUDIT_ARCH_RISCV32 -AUDIT_ARCH_RISCV64 -AUDIT_ARCH_S390 -AUDIT_ARCH_S390X -AUDIT_ARCH_SH -AUDIT_ARCH_SH64 -AUDIT_ARCH_SHEL -AUDIT_ARCH_SHEL64 -AUDIT_ARCH_SPARC -AUDIT_ARCH_SPARC64 -AUDIT_ARCH_TILEGX -AUDIT_ARCH_TILEGX32 -AUDIT_ARCH_TILEPRO -AUDIT_ARCH_UNICORE -AUDIT_ARCH_X86_64 -AUDIT_ARCH_XTENSA +#ifndef __AUDIT_ARCH_CONVENTION_MIPS64_N32 +# define __AUDIT_ARCH_CONVENTION_MIPS64_N32 0x20000000 +#endif +#ifndef __AUDIT_ARCH_64BIT +# define __AUDIT_ARCH_64BIT 0x80000000 +#endif +#ifndef __AUDIT_ARCH_LE +# define __AUDIT_ARCH_LE 0x40000000 +#endif + +AUDIT_ARCH_AARCH64 (EM_AARCH64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) +AUDIT_ARCH_ALPHA (EM_ALPHA|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) +AUDIT_ARCH_ARCOMPACT (EM_ARCOMPACT|__AUDIT_ARCH_LE) +AUDIT_ARCH_ARCOMPACTBE (EM_ARCOMPACT) +AUDIT_ARCH_ARCV2 (EM_ARCV2|__AUDIT_ARCH_LE) +AUDIT_ARCH_ARCV2BE (EM_ARCV2) +AUDIT_ARCH_ARM (EM_ARM|__AUDIT_ARCH_LE) +AUDIT_ARCH_ARMEB (EM_ARM) +AUDIT_ARCH_C6X (EM_TI_C6000|__AUDIT_ARCH_LE) +AUDIT_ARCH_C6XBE (EM_TI_C6000) +AUDIT_ARCH_CRIS (EM_CRIS|__AUDIT_ARCH_LE) +AUDIT_ARCH_CSKY (EM_CSKY|__AUDIT_ARCH_LE) +AUDIT_ARCH_FRV (EM_FRV) +AUDIT_ARCH_H8300 (EM_H8_300) /* Removed in v3.13-rc1~130^2~2 */ +AUDIT_ARCH_HEXAGON (EM_HEXAGON) +AUDIT_ARCH_I386 (EM_386|__AUDIT_ARCH_LE) +AUDIT_ARCH_IA64 (EM_IA_64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) +AUDIT_ARCH_M32R (EM_M32R) +AUDIT_ARCH_M68K (EM_68K) +AUDIT_ARCH_MICROBLAZE (EM_MICROBLAZE) +AUDIT_ARCH_MIPS (EM_MIPS) +AUDIT_ARCH_MIPS64 (EM_MIPS|__AUDIT_ARCH_64BIT) +AUDIT_ARCH_MIPS64N32 (EM_MIPS|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_CONVENTION_MIPS64_N32) +AUDIT_ARCH_MIPSEL (EM_MIPS|__AUDIT_ARCH_LE) +AUDIT_ARCH_MIPSEL64 (EM_MIPS|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) +AUDIT_ARCH_MIPSEL64N32 (EM_MIPS|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE|__AUDIT_ARCH_CONVENTION_MIPS64_N32) +AUDIT_ARCH_NDS32 (EM_NDS32|__AUDIT_ARCH_LE) +AUDIT_ARCH_NDS32BE (EM_NDS32) +AUDIT_ARCH_NIOS2 (EM_ALTERA_NIOS2|__AUDIT_ARCH_LE) +AUDIT_ARCH_OPENRISC (EM_OPENRISC) +AUDIT_ARCH_PARISC (EM_PARISC) +AUDIT_ARCH_PARISC64 (EM_PARISC|__AUDIT_ARCH_64BIT) +AUDIT_ARCH_PPC (EM_PPC) +AUDIT_ARCH_PPC64 (EM_PPC64|__AUDIT_ARCH_64BIT) +AUDIT_ARCH_PPC64LE (EM_PPC64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) +AUDIT_ARCH_RISCV32 (EM_RISCV|__AUDIT_ARCH_LE) +AUDIT_ARCH_RISCV64 (EM_RISCV|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) +AUDIT_ARCH_S390 (EM_S390) +AUDIT_ARCH_S390X (EM_S390|__AUDIT_ARCH_64BIT) +AUDIT_ARCH_SH (EM_SH) +AUDIT_ARCH_SH64 (EM_SH|__AUDIT_ARCH_64BIT) +AUDIT_ARCH_SHEL (EM_SH|__AUDIT_ARCH_LE) +AUDIT_ARCH_SHEL64 (EM_SH|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) +AUDIT_ARCH_SPARC (EM_SPARC) +AUDIT_ARCH_SPARC64 (EM_SPARCV9|__AUDIT_ARCH_64BIT) +AUDIT_ARCH_TILEGX (EM_TILEGX|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) +AUDIT_ARCH_TILEGX32 (EM_TILEGX|__AUDIT_ARCH_LE) +AUDIT_ARCH_TILEPRO (EM_TILEPRO|__AUDIT_ARCH_LE) +AUDIT_ARCH_UNICORE (EM_UNICORE|__AUDIT_ARCH_LE) +AUDIT_ARCH_V850 (EM_V850|__AUDIT_ARCH_LE) /* Removed in v2.6.27-rc1~721 */ +AUDIT_ARCH_X86_64 (EM_X86_64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) +AUDIT_ARCH_XTENSA (EM_XTENSA) -- 2.40.0