aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
Commit message (Expand)AuthorAge
* - fixed a bug in the id switching code -- setgid has to happen before••• setuid, because after we setuid we don't have the priviledges we need to setgid anymore, duh. merged switch_user() and switch_group() into switch_id(), since that code has to be wound together. - return -1 from switch_id() if it's not defined to do anything else. - moved daemoinize(), write_pidfile(), and switch_id() from main.c to util.c svn:r656 Steven Hazel2003-10-22
* introduce new tor_free() macro•••svn:r643 Roger Dingledine2003-10-21
* include our own timegm() impl, since it's not portable•••svn:r635 Roger Dingledine2003-10-20
* Add tor_realloc to mirror tor_malloc•••svn:r582 Nick Mathewson2003-10-14
* some early bugfixes•••our log() conflicts with log(3) distribute only the correct files from doc/ and src/config/ sometimes laptops go back in time. i guess that's ok for now. and bump the version number because we're live. svn:r544 Roger Dingledine2003-10-07
* wrap strdup; prefer time() to gettimeofday()•••svn:r538 Roger Dingledine2003-10-04
* Make testcases run again; more sanity checking to descriptor generation.•••svn:r532 Nick Mathewson2003-10-01
* more cleanup and rearranging•••still not finished integrating new dirserv stuff svn:r507 Roger Dingledine2003-09-29
* shift read_file_to_str() into util.c•••svn:r504 Roger Dingledine2003-09-28
* Refactor common file code into util.c; add published to descriptors•••svn:r487 Nick Mathewson2003-09-26
* fix the cpuworker circ-had-vanished bug (maybe)•••still several (many) tls-related bugs outstanding. svn:r454 Roger Dingledine2003-09-14
* implemented cpuworkers•••please poke at it and report bugs still needs polishing, and only handles onions now (should handle OR handshakes too) svn:r402 Roger Dingledine2003-08-20
* Tor now builds on win32.•••svn:r400 Nick Mathewson2003-08-14
* Attempt to make sockets code work right on windows.•••svn:r398 Nick Mathewson2003-08-14
* Make windows happier still•••svn:r392 Nick Mathewson2003-08-12
* Adopt socketpair implementation from perl. For now, always use it.•••svn:r389 Nick Mathewson2003-08-12
* Add abstraction for fork vs thread.•••svn:r387 Nick Mathewson2003-08-12
* unbork windows line endings•••svn:r381 Nick Mathewson2003-08-12
* Start of port to win32. Missing are:••• - signal support - forking for DNS farm - changes for async IO - daemonizing In other words, some files still don't build, and the ones that do build, do nonblocking IO incorrectly. I'm also not checking in the project files till I have a good place for them. svn:r380 Nick Mathewson2003-08-12
* replace malloc with tor_malloc; remove broken/unused crypto_pk_set_key•••svn:r292 Roger Dingledine2003-05-20
* Factor out timeval-related functions.•••svn:r237 Nick Mathewson2003-04-16