summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2011-10-25 12:28:51 +0200
committerCarmelo Amoroso <carmelo.amoroso@st.com>2011-10-25 12:28:51 +0200
commite4aa966cf25e83cd0c72f34f7855a995ff93944d (patch)
tree64e05ea7e75064bb994ba3b4df28a2ca29375587 /extra
parent6d71db548d1186a9215bebafaee8e38b6cb7d513 (diff)
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 <carmelo.amoroso@st.com>
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.in11
1 files changed, 11 insertions, 0 deletions
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