• Nick Mathewson's avatar
    Add a sighandler-safe logging mechanism · bd8ad674
    Nick Mathewson authored
    We had accidentially grown two fake ones: one for backtrace.c, and one
    for sandbox.c.  Let's do this properly instead.
    Now, when we configure logs, we keep track of fds that should get told
    about bad stuff happening from signal handlers.  There's another entry
    point for these that avoids using non-signal-handler-safe functions.