From: Chris Hofstaedtler <zeha@debian.org>
To: util-linux@vger.kernel.org
Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
Chris Hofstaedtler <zeha@debian.org>
Subject: [PATCH] audit-arch.h: add defines for m68k, sh
Date: Tue, 9 Apr 2024 10:34:59 +0200 [thread overview]
Message-ID: <20240409083459.346888-1-zeha@debian.org> (raw)
John Paul Adrian Glaubitz points out that libseccomp needs to release 2.6.0,
too.
Signed-off-by: Chris Hofstaedtler <zeha@debian.org>
---
include/audit-arch.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/audit-arch.h b/include/audit-arch.h
index ade182417..9afc663cd 100644
--- a/include/audit-arch.h
+++ b/include/audit-arch.h
@@ -35,6 +35,8 @@
# endif
#elif __powerpc__
# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PPC
+#elif __m68k__
+# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_M68K
#elif __mips__
# if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_MIPS
@@ -47,6 +49,12 @@
# else
# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_ARCV2
# endif
+#elif __sh__
+# if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_SH
+# else
+# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_SHEL
+# endif
#elif __sparc__
# if __SIZEOF_POINTER__ == 4
# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_SPARC
--
2.39.2
next reply other threads:[~2024-04-09 8:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-09 8:34 Chris Hofstaedtler [this message]
2024-04-09 8:44 ` [PATCH] audit-arch.h: add defines for m68k, sh John Paul Adrian Glaubitz
2024-04-09 9:14 ` Thomas Weißschuh
2024-04-09 11:49 ` Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240409083459.346888-1-zeha@debian.org \
--to=zeha@debian.org \
--cc=glaubitz@physik.fu-berlin.de \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).