freebsd-nq/sbin/hastd
Pawel Jakub Dawidek 6d7967de8a Drop privileges in worker processes.
Accepting connections and handshaking in secondary is still done before
dropping privileges. It should be implemented by only accepting connections in
privileged main process and passing connection descriptors to the worker, but
is not implemented yet.

MFC after:	1 week
2011-01-28 22:35:46 +00:00
..
activemap.c
activemap.h
control.c Remember created control connection so on fork(2) we can close it in child. 2011-01-27 19:33:57 +00:00
control.h Don't open configuration file from worker process. Handle SIGHUP in the 2011-01-24 15:04:15 +00:00
ebuf.c Fix typos. 2010-06-14 21:44:58 +00:00
ebuf.h
event.c Forgot to add event.c and event.h in r212038. 2010-08-31 09:38:43 +00:00
event.h Forgot to add event.c and event.h in r212038. 2010-08-31 09:38:43 +00:00
hast_proto.c Constify arguments we can constify. 2010-08-30 22:26:42 +00:00
hast_proto.h Constify arguments we can constify. 2010-08-30 22:26:42 +00:00
hast.conf.5 Execute hook when connection between the nodes is established or lost. 2010-08-30 00:31:30 +00:00
hast.h Implement function that drops privileges by: 2011-01-28 22:33:47 +00:00
hastd.8 mdoc: move remaining sections into consistent order 2010-05-13 12:08:11 +00:00
hastd.c Add function to assert that the only descriptors we have open are the ones 2011-01-28 21:56:47 +00:00
hastd.h Add function to assert that the only descriptors we have open are the ones 2011-01-28 21:56:47 +00:00
hooks.c execve(2), not fork(2) resets signal handler to the default value (if it isn't 2011-01-12 16:16:54 +00:00
hooks.h hook_check() is now only used to report about long-running hooks, so the 2010-10-04 21:43:06 +00:00
Makefile Don't generate input() since it's not used. 2010-11-22 14:16:22 +00:00
metadata.c Plug memory leaks. 2010-06-14 21:25:20 +00:00
metadata.h
nv.c Add nv_assert() which allows to assert that the given name exists. 2011-01-22 22:38:18 +00:00
nv.h Add nv_assert() which allows to assert that the given name exists. 2011-01-22 22:38:18 +00:00
parse.y Detect when resource is configured more than once. 2010-12-26 19:08:41 +00:00
pjdlog.c Initialize all global variables on pjdlog_init(). 2011-01-28 21:36:01 +00:00
pjdlog.h Extend pjdlog_verify() to support the following additional macros: 2011-01-27 19:28:29 +00:00
primary.c Drop privileges in worker processes. 2011-01-28 22:35:46 +00:00
proto_common.c For some setups sending data in 128kB chunks makes communication very slow. No 2010-08-18 12:09:27 +00:00
proto_impl.h Add an argument to the proto_register() function which allows protocol to 2010-08-05 17:56:41 +00:00
proto_socketpair.c When someone gives NULL as data, assume this is because he want to declare 2010-08-30 23:16:45 +00:00
proto_tcp4.c Make comment more readable. 2010-08-27 13:54:17 +00:00
proto_uds.c Assert that various buffers we are large enough. 2010-08-05 18:27:41 +00:00
proto.c Constify arguments we can constify. 2010-08-30 22:26:42 +00:00
proto.h Constify arguments we can constify. 2010-08-30 22:26:42 +00:00
rangelock.c
rangelock.h
secondary.c Drop privileges in worker processes. 2011-01-28 22:35:46 +00:00
subr.c Implement function that drops privileges by: 2011-01-28 22:33:47 +00:00
subr.h Implement function that drops privileges by: 2011-01-28 22:33:47 +00:00
synch.h Plug memory leaks. 2010-10-24 15:41:23 +00:00
token.l Allow to execute specified program on various HAST events. 2010-08-27 15:16:52 +00:00