procd: seccomp/jail: Fix build error on arm with glibc
authorDaniel Golle <daniel@makrotopia.org>
Mon, 31 Jan 2022 00:07:32 +0000 (00:07 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 31 Jan 2022 00:10:42 +0000 (00:10 +0000)
From: Peter Lundkvist <peter.lundkvist@gmail.com>

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 <peter.lundkvist@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/system/procd/Makefile

index 27b235cea7a0896869ba4d2af3802726ae86770f..a7de6920eb968eba2e8382f94f68380910427f5d 100644 (file)
@@ -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