From 4e854fee209825d42a5933bd5d252a08d8298f12 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 * xlat/audit_arch.in: Add fallback values. (AUDIT_ARCH_H8300, AUDIT_ARCH_TILEGX, AUDIT_ARCH_TILEGX32, AUDIT_ARCH_TILEPRO, AUDIT_ARCH_V850): New constants. --- xlat/audit_arch.in | 78 ++++++++++++++++++++++------------------------ 1 file changed, 37 insertions(+), 41 deletions(-) diff --git a/xlat/audit_arch.in b/xlat/audit_arch.in index e0b3db39..875c0c82 100644 --- a/xlat/audit_arch.in +++ b/xlat/audit_arch.in @@ -1,41 +1,37 @@ -/* linux used to have linux/elf-em.h out of sync with linux/audit.h */ -AUDIT_ARCH_AARCH64 -AUDIT_ARCH_ALPHA -#ifdef EM_ARM -AUDIT_ARCH_ARM -AUDIT_ARCH_ARMEB -#endif -AUDIT_ARCH_CRIS -#ifdef EM_FRV -AUDIT_ARCH_FRV -#endif -AUDIT_ARCH_I386 -AUDIT_ARCH_IA64 -AUDIT_ARCH_M32R -AUDIT_ARCH_M68K -#ifdef EM_MICROBLAZE -AUDIT_ARCH_MICROBLAZE -#endif -AUDIT_ARCH_MIPS -AUDIT_ARCH_MIPS64 -AUDIT_ARCH_MIPS64N32 -AUDIT_ARCH_MIPSEL -AUDIT_ARCH_MIPSEL64 -AUDIT_ARCH_MIPSEL64N32 -#ifdef EM_OPENRISC -AUDIT_ARCH_OPENRISC -#endif -AUDIT_ARCH_PARISC -AUDIT_ARCH_PARISC64 -AUDIT_ARCH_PPC -AUDIT_ARCH_PPC64 -AUDIT_ARCH_PPC64LE -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_X86_64 +AUDIT_ARCH_AARCH64 (EM_AARCH64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) +AUDIT_ARCH_ALPHA (EM_ALPHA|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) +AUDIT_ARCH_ARM (EM_ARM|__AUDIT_ARCH_LE) +AUDIT_ARCH_ARMEB (EM_ARM) +AUDIT_ARCH_CRIS (EM_CRIS|__AUDIT_ARCH_LE) +AUDIT_ARCH_FRV (EM_FRV) +AUDIT_ARCH_H8300 (EM_H8_300) /* Removed in v3.13-rc1~130^2~2 */ +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_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_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_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)