tor/src/or
Steven Hazel b1eca56b77 added User and Group options -- if you set them, tor will try to
setuid and setgid respectively, and die if it can't.

(If the User option is set, tor will setgid to the user's gid as well.)

This happens after the pidfile is created, so that in cases where tor
needs to be root to work with the pidfile, it will at least be able to
create it, although it won't be able to delete it.  That sucks, but
it's somewhat better than not being able to create the pidfile in the
first place.


svn:r652
2003-10-22 06:03:11 +00:00
..
.cvsignore update the cvsignore 2003-09-26 21:16:57 +00:00
buffers.c put small buffers back in place 2003-10-19 01:10:38 +00:00
circuit.c move closer to being able to reload config on HUP 2003-10-21 09:48:17 +00:00
command.c change WARNING to WARN 2003-10-10 01:48:32 +00:00
config.c added User and Group options -- if you set them, tor will try to 2003-10-22 06:03:11 +00:00
connection_edge.c send the end cell when we realize we're going to end, 2003-10-21 08:37:07 +00:00
connection_or.c move closer to being able to reload config on HUP 2003-10-21 09:48:17 +00:00
connection.c move closer to being able to reload config on HUP 2003-10-21 09:48:17 +00:00
cpuworker.c Stop using stdout for non-debugging cases 2003-10-15 18:28:32 +00:00
directory.c fix segfault (connecting to dirserver when network is down) 2003-10-13 19:58:21 +00:00
dirserv.c move closer to being able to reload config on HUP 2003-10-21 09:48:17 +00:00
dns.c send the end cell when we realize we're going to end, 2003-10-21 08:37:07 +00:00
main.c added User and Group options -- if you set them, tor will try to 2003-10-22 06:03:11 +00:00
Makefile.am Write necessary backends for online directory generation. I think. 2003-09-27 21:30:10 +00:00
onion.c move closer to being able to reload config on HUP 2003-10-21 09:48:17 +00:00
or.h added User and Group options -- if you set them, tor will try to 2003-10-22 06:03:11 +00:00
routers.c move closer to being able to reload config on HUP 2003-10-21 09:48:17 +00:00
test.c move closer to being able to reload config on HUP 2003-10-21 09:48:17 +00:00
tor_main.c Update LICENSE and copyright dates. 2003-10-08 02:04:08 +00:00
tree.h splay and rbtree implementations, by niels provos 2002-12-31 15:05:07 +00:00