--- dhcpcd-9.4.1/src/privsep-linux.c.orig 2022-12-01 21:21:45.122107949 +0100 +++ dhcpcd-9.4.1/src/privsep-linux.c 2022-12-03 10:15:22.332914578 +0100 @@ -248,6 +248,12 @@ # endif #elif defined(__xtensa__) # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_XTENSA +#elif defined(__loongarch__) +# if defined(__loongarch64) +# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_LOONGARCH64 +# else +# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_LOONGARCH32 +# endif #else # error "Platform does not support seccomp filter yet" #endif