[PATCH] Add support for AUDIT_ARCH_LOONGARCH64

Mingcong Bai jeffbai at aosc.io
Sat Jul 25 00:53:01 AEST 2026


Signed-off-by: Mingcong Bai <jeffbai at aosc.io>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index a4d544cc5..60b0244d7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1114,6 +1114,9 @@ int main(void) { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
 	riscv64-*)
 		seccomp_audit_arch=AUDIT_ARCH_RISCV64
 		;;
+	loongarch64-*)
+		seccomp_audit_arch=AUDIT_ARCH_LOONGARCH64
+		;;
 	esac
 	if test "x$seccomp_audit_arch" != "x" ; then
 		AC_MSG_RESULT(["$seccomp_audit_arch"])
-- 
2.55.0



More information about the openssh-unix-dev mailing list