From 26284b4021edcbc32f703fb813e379b6d5af02ef Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 14 Apr 2011 12:52:23 +0200 Subject: add LDSO_SAFE_RUNPATH config option Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- extra/Configs/Config.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'extra') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 8eae1f48a..cbf2c96b8 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -395,6 +395,13 @@ config LDSO_RUNPATH Usage of RUNPATH tags is not too common, so disabling this feature should be safe for most people. +config LDSO_SAFE_RUNPATH + bool "Allow only RUNPATH beginning with /" + depends on LDSO_RUNPATH + default y + help + Allow only absolute path in RPATH/RUNPATH. + config LDSO_SEARCH_INTERP_PATH bool "Add ldso path to lib search path" depends on HAVE_SHARED -- cgit v1.2.3