From 5d110c016184fc2f072a41b77fce322b439bc225 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Mon, 31 Jan 2022 00:07:32 +0000 Subject: [PATCH] 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 --- package/system/procd/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.30.2