| … | |
… | |
| 362 | if (!getenv(ENV_SANDBOX_VERBOSE)) |
362 | if (!getenv(ENV_SANDBOX_VERBOSE)) |
| 363 | sandbox_setenv(new_environ, ENV_SANDBOX_VERBOSE, "1"); |
363 | sandbox_setenv(new_environ, ENV_SANDBOX_VERBOSE, "1"); |
| 364 | if (!getenv(ENV_SANDBOX_DEBUG)) |
364 | if (!getenv(ENV_SANDBOX_DEBUG)) |
| 365 | sandbox_setenv(new_environ, ENV_SANDBOX_DEBUG, "0"); |
365 | sandbox_setenv(new_environ, ENV_SANDBOX_DEBUG, "0"); |
| 366 | if (!getenv(ENV_NOCOLOR)) |
366 | if (!getenv(ENV_NOCOLOR)) |
| 367 | sandbox_setenv(new_environ, ENV_NOCOLOR, "0"); |
367 | sandbox_setenv(new_environ, ENV_NOCOLOR, "no"); |
| 368 | /* If LD_PRELOAD was not set, set it here, else do it below */ |
368 | /* If LD_PRELOAD was not set, set it here, else do it below */ |
| 369 | if (1 != have_ld_preload) |
369 | if (1 != have_ld_preload) |
| 370 | sandbox_setenv(new_environ, ENV_LD_PRELOAD, ld_preload_envvar); |
370 | sandbox_setenv(new_environ, ENV_LD_PRELOAD, ld_preload_envvar); |
| 371 | |
371 | |
| 372 | if (!getenv(ENV_SANDBOX_DENY)) |
372 | if (!getenv(ENV_SANDBOX_DENY)) |