[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #14759 [Tor]: Tor is killed with Bad system call
#14759: Tor is killed with Bad system call
------------------------+------------------------------------
Reporter: tholin | Owner: nickm
Type: defect | Status: needs_review
Priority: normal | Milestone: Tor: 0.2.6.x-final
Component: Tor | Version: Tor: 0.2.6.2-alpha
Resolution: | Keywords: 025-backport tor-relay
Actual Points: | Parent ID:
Points: |
------------------------+------------------------------------
Changes (by nickm):
* status: assigned => needs_review
Comment:
Option 1: set the LIBC_FATAL_STDERR_ environment variable.
Option 2: Have the sandbox respond to unacceptable open(...O_RDWR) to fail
with an error (EACCES?), rather than crashing tor.
I think option 1 is better, since it's easier to debug other things when
O_RDWR still traps with a signal.
See branch "bug14759" in my public repository for an implementation.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14759#comment:10>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs