diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-08-16 20:37:47 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2015-08-16 20:37:47 +0000 |
commit | cae35b268cc8db7186cf026543a3d89c2f2de028 (patch) | |
tree | d17a5a8d6a004e8d8b798073ce47b54c05ff855d | |
parent | 32c3af6a19792a805392c9dd110bbe19ac69c558 (diff) | |
download | master-31e0f0ae-cae35b268cc8db7186cf026543a3d89c2f2de028.tar.gz master-31e0f0ae-cae35b268cc8db7186cf026543a3d89c2f2de028.tar.bz2 master-31e0f0ae-cae35b268cc8db7186cf026543a3d89c2f2de028.zip |
procd: fix seccomp build on some architectures
fix generating syscall-names.h
Sometimes the syscall number is not defined with a number but with an
offset to an other syscall and then make_syscall_h.sh created some
broken header file.
For example the bit/syscall.h from musl for i386 has this:
#define __NR_timer_create 259
#define __NR_timer_settime (__NR_timer_create+1)
With this patch the resulting array looks like this:
[259] = "timer_create",
[(__NR_timer_create+1)] = "timer_settime",
This closes #20195.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46612
-rw-r--r-- | package/system/procd/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile index a3b1481c25..2c7ea3bdcc 100644 --- a/package/system/procd/Makefile +++ b/package/system/procd/Makefile @@ -8,14 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=procd -PKG_VERSION:=2015-07-27 +PKG_VERSION:=2015-08-16 PKG_RELEASE=$(PKG_SOURCE_VERSION) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=git://nbd.name/luci2/procd.git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=370b68a9c3514ecb2fb6b814ba58e4e41f4f26c0 +PKG_SOURCE_VERSION:=0da5bf2ff222d1a499172a6e09507388676b5a08 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz CMAKE_INSTALL:=1 |