diff options
author | Paul Moore <pmoore@redhat.com> | 2014-08-27 09:51:04 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2014-08-27 09:51:04 -0400 |
commit | e2b795068dd8ec92ce5cfaade81a915af0dbd61c (patch) | |
tree | 8b531d5fc69f3fbebf567af022fc46a130b0b71b /include | |
parent | 9c6c5b326b1fb4aeca63dbfcfc52b5aa78490331 (diff) | |
download | libseccomp-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.in | 3 |
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 |