summaryrefslogtreecommitdiffstats
path: root/include/audit-arch.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:34 +0000
commit1272be04be0cb803eec87f602edb2e3e6f111aea (patch)
treebce17f6478cdd9f3c4ec3d751135dc42786d6a56 /include/audit-arch.h
parentReleasing progress-linux version 2.39.3-11~progress7.99u1. (diff)
downloadutil-linux-1272be04be0cb803eec87f602edb2e3e6f111aea.tar.xz
util-linux-1272be04be0cb803eec87f602edb2e3e6f111aea.zip
Merging upstream version 2.40.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'include/audit-arch.h')
-rw-r--r--include/audit-arch.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/audit-arch.h b/include/audit-arch.h
index db14560..ade1824 100644
--- a/include/audit-arch.h
+++ b/include/audit-arch.h
@@ -59,6 +59,14 @@
# else
# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_LOONGARCH64
# endif
+#elif __hppa__
+# if __SIZEOF_POINTER__ == 4
+# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC
+# else
+# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC64
+# endif
+#elif __alpha__
+# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_ALPHA
#else
# error Unknown target architecture
#endif