blob: 20bb8fd9496c00eb2b6fd8760e6f546e74e910fa [file] [log] [blame]
From 01eefac216d6c7aa4b3c9ee60536935d223c0d80 Mon Sep 17 00:00:00 2001
From: Stephen McGruer <smcgruer@google.com>
Date: Fri, 29 Apr 2016 11:45:14 -0500
Subject: [PATCH 19/19] Disable __LDSO_SAFE_RUNPATH__
See b/28440753
uClibc 1.0.12 adds a '__LDSO_SAFE_RUNPATH__' check that disallows relative
paths when loading libraries. However, this incorrectly applies to
LD_LIBRARY_PATH as well, which breaks Cast. The variable is poorly named
regardless, it is more about protecting yourself from a dependency jungle than
any security concern.
---
package/uclibc/uClibc-ng.config | 1 +
1 file changed, 1 insertions(+)
diff --git a/package/uclibc/uClibc-ng.config b/package/uclibc/uClibc-ng.config
index c2e9f72..2b73fb1 100644
--- a/package/uclibc/uClibc-ng.config
+++ b/package/uclibc/uClibc-ng.config
@@ -8,6 +8,7 @@
LDSO_RUNPATH=y
LDSO_RUNPATH_OF_EXECUTABLE=y
+LDSO_SAFE_RUNPATH=n
MALLOC_GLIBC_COMPAT=y
UCLIBC_HAS_OBSTACK=y
UCLIBC_HAS_UTMPX=y
UCLIBC_HAS_UTMP=y
--
2.8.0.rc3.226.g39d4020