procd: make the jail code also work on arm

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45719
This commit is contained in:
John Crispin 2015-05-23 15:26:09 +00:00
parent 230efe318f
commit 86b573fa31

View file

@ -8,14 +8,14 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=procd PKG_NAME:=procd
PKG_VERSION:=2015-05-05 PKG_VERSION:=2015-05-23
PKG_RELEASE=$(PKG_SOURCE_VERSION) PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://nbd.name/luci2/procd.git PKG_SOURCE_URL:=git://nbd.name/luci2/procd.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=a6afa72f192f6efe8374d0f0c77fb2a545225a92 PKG_SOURCE_VERSION:=a771644fd3a3ac055ec0c62fbe434aed0df002fe
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
CMAKE_INSTALL:=1 CMAKE_INSTALL:=1
@ -77,12 +77,12 @@ config PROCD_ZRAM_TMPFS
config PROCD_JAIL_SUPPORT config PROCD_JAIL_SUPPORT
bool bool
default y default y
depends on (mips || mipsel || i386 || x86_64) && PROCD_SECCOMP_SUPPORT depends on (arm || armeb || mips || mipsel || i386 || x86_64) && PROCD_SECCOMP_SUPPORT
config PROCD_SECCOMP_SUPPORT config PROCD_SECCOMP_SUPPORT
bool bool
default y default y
depends on (mips || mipsel || i386 || x86_64) && !TARGET_uml && @KERNEL_SECCOMP depends on (arm || armeb || mips || mipsel || i386 || x86_64) && !TARGET_uml && @KERNEL_SECCOMP
endmenu endmenu
endef endef