Skip to content
Snippets Groups Projects
Verified Commit 047a522b authored by Josef Schlehofer's avatar Josef Schlehofer
Browse files

patches/packages: zerotier: drop our patch to disable ASLR PIE

In OpenWrt 19.07 packages feed, there was updated zerotier from master
branch to version 1.6.2 and it includes same workaround
parent 4a80d815
Branches
Tags
No related merge requests found
From c14cd3cdb7ba1317e2278015175f15ac43f32408 Mon Sep 17 00:00:00 2001
From: Josef Schlehofer <pepe.schlehofer@gmail.com>
Date: Fri, 17 Jul 2020 15:05:03 +0200
Subject: [PATCH 2/2] zerotier: disable ASLR PIE
I tested it on Turris Omnia, where zerotier segfaults on start.
When I disabled ASLR PIE, it works. This is a workaround.
We should invest a little bit more time to see why it does not work with
ASLR PIE.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
---
net/zerotier/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/zerotier/Makefile b/net/zerotier/Makefile
index 4413da2df..369482685 100644
--- a/net/zerotier/Makefile
+++ b/net/zerotier/Makefile
@@ -17,6 +17,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/ZeroTierOne-$(PKG_VERSION)
PKG_MAINTAINER:=Moritz Warning <moritzwarning@web.de>
PKG_LICENSE:=BSL 1.1
PKG_LICENSE_FILES:=LICENSE.txt
+PKG_ASLR_PIE:=0
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
--
2.27.0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment