From: Daniel Golle Date: Mon, 31 Jan 2022 00:07:32 +0000 (+0000) Subject: procd: seccomp/jail: Fix build error on arm with glibc X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5d110c016184fc2f072a41b77fce322b439bc225;p=openwrt%2Fstaging%2Fthess.git procd: seccomp/jail: Fix build error on arm with glibc From: Peter Lundkvist This fixes the make_syscall_h.sh script to recognize both __NR_Linux, used by mips, and __NR_SYSCALL_BASE and __ARM_NR_BASE used by arm. Run-tested on arm (ipq806x) and mips (ath79), both with glibc. Compile-tested and checked resulting syscall_names.h file wuth glibc: aarch64, powerpc, x86_64, i486 musl: arm, mips Fixes: FS#4194, FS#4195 Signed-off-by: Peter Lundkvist Signed-off-by: Daniel Golle --- diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile index 27b235cea7..a7de6920eb 100644 --- a/package/system/procd/Makefile +++ b/package/system/procd/Makefile @@ -12,9 +12,9 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL=$(PROJECT_GIT)/project/procd.git -PKG_MIRROR_HASH:=0e506062a992f77979bd59eb51fb5d500e45197cc7bfba3a9302415d754dbfd1 -PKG_SOURCE_DATE:=2022-01-11 -PKG_SOURCE_VERSION:=ac2b8b365bdbcbf292f77409d180ec3c0963faf3 +PKG_MIRROR_HASH:=6880a4013c6b846ff0ad088a84294bbdbf7bb030a6838a97211c8e0161ee29db +PKG_SOURCE_DATE:=2022-01-31 +PKG_SOURCE_VERSION:=cb0031c47b9d46f3cf84daa90d484af5f9c90e31 CMAKE_INSTALL:=1 PKG_LICENSE:=GPL-2.0