From e4aa966cf25e83cd0c72f34f7855a995ff93944d Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Tue, 25 Oct 2011 12:28:51 +0200 Subject: ldso: let people disable to lookup into LD_LIBRARY_PATH On hardened system it could be useful to disable the use of LD_LIBRARY_PATH. Signed-off-by: Carmelo Amoroso --- extra/Configs/Config.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'extra') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 9ff918efb..1e968063a 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -409,6 +409,17 @@ config LDSO_SEARCH_INTERP_PATH If unsure, simply say Y here. +config LDSO_LD_LIBRARY_PATH + bool "Add LD_LIBRARY_PATH to lib search path" + depends on HAVE_SHARED + default y + help + On hardened system it could be useful to disable the use of + LD_LIBRARY_PATH environment variable (a colon-separated list of + directories in which to search for ELF libraries at execution-time). + + If unsure, simply say Y here. + config LDSO_NO_CLEANUP bool "Disable automatic unloading of dynamically loaded shared objects" depends on HAVE_SHARED -- cgit v1.2.3