]> git.ipfire.org Git - thirdparty/tor.git/commit
Log a backtrace when the sandbox finds a failure
authorNick Mathewson <nickm@torproject.org>
Thu, 10 Apr 2014 19:44:52 +0000 (15:44 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 10 Apr 2014 19:44:52 +0000 (15:44 -0400)
commitcc9e86db61e2ffb6c54b09e8c41e8fdad50b3ef3
tree14a025fd59522d8c2baac100764d8a664756b587
parent196895ed7ed1bd4c93c4c3cdd12893cfa4e4cc41
Log a backtrace when the sandbox finds a failure

This involves some duplicate code between backtrace.c and sandbox.c,
but I don't see a way around it: calling more functions would mean
adding more steps to our call stack, and running clean_backtrace()
against the wrong point on the stack.
src/common/backtrace.c
src/common/backtrace.h
src/common/sandbox.c