tor/src
Steven Hazel 4139c1c86a - 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
2003-10-22 11:21:29 +00:00
..
common - fixed a bug in the id switching code -- setgid has to happen before 2003-10-22 11:21:29 +00:00
config move default exit policy into config files 2003-10-22 07:56:11 +00:00
or - fixed a bug in the id switching code -- setgid has to happen before 2003-10-22 11:21:29 +00:00
win32 Misc patches to make windows build work. Now everything is done except the sockets stuff 2003-08-12 15:08:51 +00:00
.cvsignore First cut at cleaning out a lot of the extra stuff. 2002-06-29 00:54:00 +00:00
Makefile.am some early bugfixes 2003-10-07 16:30:05 +00:00