forked from pool/libseccomp
bump ppc in the simulator
OBS-URL: https://build.opensuse.org/package/show/security/libseccomp?expand=0&rev=26
This commit is contained in:
parent
73798fa347
commit
d83b69603c
@ -17,7 +17,8 @@
|
||||
src/gen_pfc.c | 8
|
||||
tools/scmp_arch_detect.c | 12 +
|
||||
tools/scmp_bpf_sim.c | 8
|
||||
18 files changed, 2015 insertions(+), 1 deletion(-)
|
||||
tools/util.c | 8
|
||||
19 files changed, 2023 insertions(+), 1 deletion(-)
|
||||
|
||||
Index: libseccomp-2.2.0/include/seccomp.h.in
|
||||
===================================================================
|
||||
@ -2189,3 +2190,22 @@ Index: libseccomp-2.2.0/tools/scmp_bpf_sim.c
|
||||
else
|
||||
exit_fault(EINVAL);
|
||||
break;
|
||||
Index: libseccomp-2.2.0/tools/util.c
|
||||
===================================================================
|
||||
--- libseccomp-2.2.0.orig/tools/util.c
|
||||
+++ libseccomp-2.2.0/tools/util.c
|
||||
@@ -62,6 +62,14 @@
|
||||
#elif __MIPSEL__
|
||||
#define ARCH_NATIVE AUDIT_ARCH_MIPSEL64N32
|
||||
#endif /* _MIPS_SIM_NABI32 */
|
||||
+#elif __s390__
|
||||
+#define ARCH_NATIVE AUDIT_ARCH_S390
|
||||
+#elif __s390x__
|
||||
+#define ARCH_NATIVE AUDIT_ARCH_S390X
|
||||
+#elif __powerpc64__
|
||||
+#define ARCH_NATIVE AUDIT_ARCH_PPC64
|
||||
+#elif __powerpc__
|
||||
+#define ARCH_NATIVE AUDIT_ARCH_PPC
|
||||
#else
|
||||
#error the simulator code needs to know about your machine type
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user