OSDN Git Service

add LDSO_SAFE_RUNPATH config option
[uclinux-h8/uClibc.git] / extra / Configs / Config.in
index 8eae1f4..cbf2c96 100644 (file)
@@ -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