summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/seccomp.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/seccomp.h.in b/include/seccomp.h.in
index 2a9d4a9..99a0bc5 100644
--- a/include/seccomp.h.in
+++ b/include/seccomp.h.in
@@ -125,6 +125,9 @@ struct scmp_arg_cmp {
/**
* The MIPS architecture tokens
*/
+#ifndef __AUDIT_ARCH_CONVENTION_MIPS64_N32
+#define __AUDIT_ARCH_CONVENTION_MIPS64_N32 0x20000000
+#endif
#define SCMP_ARCH_MIPS AUDIT_ARCH_MIPS
#define SCMP_ARCH_MIPS64 AUDIT_ARCH_MIPS64
#ifndef AUDIT_ARCH_MIPS64N32