-
- Downloads
Comment-only change: annotate exit() calls.
Sometimes when we call exit(), it's because the process is completely hopeless: openssl has a broken AES-CTR implementation, or the clock is in the 1960s, or something like that. But sometimes, we should return cleanly from tor_main() instead, so that embedders can keep embedding us and start another Tor process. I've gone through all the exit() and _exit() calls to annotate them with "exit ok" or "XXXX bad exit" -- the next step will be to fix the bad exit()s. First step towards 23848.
Showing
- src/common/aes.c 1 addition, 1 deletionsrc/common/aes.c
- src/common/compat_libevent.c 1 addition, 1 deletionsrc/common/compat_libevent.c
- src/common/compat_time.c 2 additions, 2 deletionssrc/common/compat_time.c
- src/common/compat_winthreads.c 1 addition, 1 deletionsrc/common/compat_winthreads.c
- src/common/sandbox.c 1 addition, 1 deletionsrc/common/sandbox.c
- src/common/util.c 12 additions, 12 deletionssrc/common/util.c
- src/or/config.c 12 additions, 12 deletionssrc/or/config.c
- src/or/control.c 1 addition, 1 deletionsrc/or/control.c
- src/or/hibernate.c 2 additions, 2 deletionssrc/or/hibernate.c
- src/or/main.c 5 additions, 5 deletionssrc/or/main.c
- src/or/networkstatus.c 1 addition, 1 deletionsrc/or/networkstatus.c
- src/or/ntmain.c 1 addition, 1 deletionsrc/or/ntmain.c
- src/or/routerlist.c 2 additions, 2 deletionssrc/or/routerlist.c
- src/or/scheduler.c 1 addition, 1 deletionsrc/or/scheduler.c
Loading
Please register or sign in to comment