diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-02-11 15:15:24 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-02-11 15:15:24 -0500 |
commit | 99e915dbfea9b2b985a10368721d9c79b358abbe (patch) | |
tree | b911d7fda03adffc725a937a59bfa2ed2a18776a /src/common | |
parent | b223b7c22d4bf0bd4d58987368523a2a07c6395e (diff) | |
parent | f5f6d13e4cc0d8e823888694bb2c3415d80690ab (diff) | |
download | tor-99e915dbfea9b2b985a10368721d9c79b358abbe.tar.gz tor-99e915dbfea9b2b985a10368721d9c79b358abbe.zip |
Merge remote-tracking branch 'public/bug14759'
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/sandbox.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/sandbox.c b/src/common/sandbox.c index 450b04a6f7..57847e1376 100644 --- a/src/common/sandbox.c +++ b/src/common/sandbox.c @@ -1676,6 +1676,9 @@ register_cfg(sandbox_cfg_t* cfg) static int initialise_libseccomp_sandbox(sandbox_cfg_t* cfg) { + /* Prevent glibc from trying to open /dev/tty on fatal error */ + setenv("LIBC_FATAL_STDERR_", "1", 1); + if (install_sigsys_debugging()) return -1; |