summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2014-08-27 09:51:04 -0400
committerPaul Moore <pmoore@redhat.com>2014-08-27 09:51:04 -0400
commite2b795068dd8ec92ce5cfaade81a915af0dbd61c (patch)
tree8b531d5fc69f3fbebf567af022fc46a130b0b71b /tools
parent9c6c5b326b1fb4aeca63dbfcfc52b5aa78490331 (diff)
downloadlibseccomp-e2b795068dd8ec92ce5cfaade81a915af0dbd61c.tar.gz
arch: ensure that __AUDIT_ARCH_CONVENTION_MIPS64_N32 is defined
Reported-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/util.h b/tools/util.h
index 2903769..6564472 100644
--- a/tools/util.h
+++ b/tools/util.h
@@ -24,6 +24,10 @@
#include <inttypes.h>
+#ifndef __AUDIT_ARCH_CONVENTION_MIPS64_N32
+#define __AUDIT_ARCH_CONVENTION_MIPS64_N32 0x20000000
+#endif
+
#ifndef AUDIT_ARCH_MIPS64N32
/* MIPS64N32 support was merged in 3.15 */
#define AUDIT_ARCH_MIPS64N32 (EM_MIPS|__AUDIT_ARCH_64BIT|\