Skip to content

Commit

Permalink
procd: seccomp/jail: Fix build error on arm with glibc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dangowrt committed Jan 31, 2022
1 parent 5e6867f commit 5d110c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package/system/procd/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 5d110c0

Please sign in to comment.