diff options
-rw-r--r-- | libsbutil/sbutil.h | 1 | ||||
-rw-r--r-- | src/environ.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/libsbutil/sbutil.h b/libsbutil/sbutil.h index 9a4c3b7..d76e0c9 100644 --- a/libsbutil/sbutil.h +++ b/libsbutil/sbutil.h @@ -20,7 +20,6 @@ #define SANDBOX_CONFD_DIR ETCDIR "/sandbox.d" #define LD_PRELOAD_EQ "LD_PRELOAD=" -#define LD_PRELOAD_FILE "/etc/ld.so.preload" #define LIB_NAME "libsandbox.so" #define BASHRC_NAME "sandbox.bashrc" #define TMPDIR "/tmp" diff --git a/src/environ.c b/src/environ.c index 9cc337c..b6d9550 100644 --- a/src/environ.c +++ b/src/environ.c @@ -192,8 +192,6 @@ static int setup_cfg_vars(struct sandbox_info_t *sandbox_info) if (-1 == setup_access_var(ENV_SANDBOX_DENY)) return -1; - if (NULL == getenv(ENV_SANDBOX_DENY)) - setenv(ENV_SANDBOX_DENY, LD_PRELOAD_FILE, 1); if (-1 == setup_access_var(ENV_SANDBOX_READ)) return -1; |