lantiq: Deactivate ASLR support for some applications
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 3 Mar 2018 00:21:08 +0000 (01:21 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 3 Mar 2018 11:58:55 +0000 (12:58 +0100)
The lantiq components still leak some user space linker options into the
kernel space. This breaks with build when ASLR is activated, deactivate
it for now on these packages.

Fixes: FS#1391
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/lantiq/ltq-ifxos/Makefile
package/kernel/lantiq/ltq-tapi/Makefile
package/kernel/lantiq/ltq-vdsl-mei/Makefile
package/kernel/lantiq/ltq-vdsl/Makefile
package/kernel/lantiq/ltq-vmmc/Makefile
package/network/config/ltq-vdsl-app/Makefile

index bd4f08da8366353087f5d234e5a859720cc5def5..4771fda20a5fe02bf20a4798571d227c7a96f40b 100644 (file)
@@ -17,7 +17,7 @@ PKG_MAINTAINER:=John Crispin <john@phrozen.org>
 PKG_LICENSE:=GPL-2.0 BSD-2-Clause
 PKG_LICENSE_FILES:=LICENSE
 
-
+PKG_ASLR_PIE:=0
 PKG_FIXUP:=autoreconf
 
 include $(INCLUDE_DIR)/package.mk
index 072041c5897095b67989bd23431bd021ccfa34c0..171103350e236f94bcd22d22534c36e98e39c41a 100644 (file)
@@ -17,6 +17,7 @@ PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
 PKG_HASH:=109374d52872716570fca3fef3b93c9a93159a804dfd42484b19152b825af5c0
 PKG_MAINTAINER:=John Crispin <john@phrozen.org>
 
+PKG_ASLR_PIE:=0
 PKG_CHECK_FORMAT_SECURITY:=0
 PKG_FIXUP:=autoreconf
 
index aeb028181e728d1e4dd4bd1fa3eca09e76bf6f17..9597de0072a4186d803be57bafdb465273e9d690 100644 (file)
@@ -22,6 +22,7 @@ PKG_MAINTAINER:=John Crispin <john@phrozen.org>
 PKG_LICENSE:=GPL-2.0 BSD-2-Clause
 PKG_LICENSE_FILES:=LICENSE
 
+PKG_ASLR_PIE:=0
 
 include $(INCLUDE_DIR)/package.mk
 
index d518bd647da4f053aeeeaab664e7cbe019d63f9e..cf3711beb7e42134147865ef8184260821dbf4e0 100644 (file)
@@ -19,6 +19,7 @@ PKG_HASH:=b4966a60653acc49254b168c6cc9c49eb36c54548e763617788aa4f252a29f21
 PKG_LICENSE:=GPL-2.0 BSD-2-Clause
 PKG_LICENSE_FILES:=LICENSE
 
+PKG_ASLR_PIE:=0
 PKG_FIXUP:=autoreconf
 
 PKG_MAINTAINER:=John Crispin <john@phrozen.org>
index 99263cce43311c1ca76d71559a8b36e8b8dbdde4..e44b509b2e6e56396b55c736532bae288cc0d253 100644 (file)
@@ -17,6 +17,7 @@ PKG_HASH:=707f515eb727c032418c4da67d7e86884bb56cdc2a606e8f6ded6057d8767e57
 PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
 PKG_MAINTAINER:=John Crispin <john@phrozen.org>
 
+PKG_ASLR_PIE:=0
 PKG_CHECK_FORMAT_SECURITY:=0
 PKG_FIXUP:=autoreconf
 
index fd50149573f937b065eba2a42b9af55e1cbd0f68..e2ecefa25896ec5c90ea4d593506e2e9296fa1d2 100644 (file)
@@ -19,6 +19,7 @@ PKG_LICENSE:=BSD-2-Clause
 
 PKG_BUILD_DEPENDS:=ltq-vdsl
 
+PKG_ASLR_PIE:=0
 PKG_FLAGS:=nonshared
 
 include $(INCLUDE_DIR)/package.mk