summaryrefslogtreecommitdiffstats
path: root/sbin/hastd
Commit message (Expand)AuthorAgeFilesLines
* Make workers inherit debug level from the main process.trociny2011-03-112-2/+6
* Unbreak the build.pjd2011-03-071-5/+5
* - Log size of data to synchronize in human readable form (using %N).pjd2011-03-071-6/+18
* Use %S to print IP address and port number.pjd2011-03-071-18/+2
* - Turn on printf extentions.pjd2011-03-072-0/+89
* Provides three states for pjdlog_initialized, so we can also tell thatpjd2011-03-071-25/+29
* Allow to compress on-the-wire data using two algorithms:pjd2011-03-0613-3/+1035
* Allow to checksum on-the-wire data using either CRC32 or SHA256.pjd2011-03-0613-194/+465
* When we decide to unlink socket file, sun_path must be set. If it is set,pjd2011-02-091-1/+6
* Explicitly include <sys/types.h> as suggested by getpid(2) and don't rely onpjd2011-02-081-0/+1
* Unlink UNIX domain socket file only if:pjd2011-02-081-5/+16
* Now that we break the loop on fstat(2) failure we no longer need to satisfypjd2011-02-061-2/+0
* Add (void) cast before snprintf(3)s for which we are not interested in returnpjd2011-02-061-13/+13
* Treat fstat(2) failure (different than EBADF) as fatal error.pjd2011-02-061-0/+1
* Open syslog when logging sysconf(3) failure.pjd2011-02-061-0/+4
* Close more descriptors that can be open if the worker process for the givenpjd2011-02-061-0/+6
* Setup another socketpair between parent and child, so that primary sandboxedpjd2011-02-035-31/+143
* Add missing locking after moving keepalive_send() to remote send threadpjd2011-02-031-3/+9
* Let the caller log info about successful privilege drop.pjd2011-02-033-2/+2
* - Rename proto_descriptor_{send,recv}() functions topjd2011-02-027-166/+200
* Add proto_connect_wait() to wait for connection to finish.pjd2011-02-025-11/+84
* Allow to specify connection timeout by the caller.pjd2011-02-026-9/+12
* Move protocol allocation and deallocation to separate functions.pjd2011-02-021-17/+48
* Be prepared that hp_client or hp_server might be NULL now.pjd2011-02-021-4/+11
* Do not set socket send and receive buffer. It will be auto-tuned.pjd2011-02-011-14/+4
* Fix build on ia64.pjd2011-01-311-9/+7
* Until I fix the build on ia64 comment out problematic lines.pjd2011-01-311-2/+2
* Implement two new functions for sending descriptor and receving descriptorpjd2011-01-316-8/+173
* - Use pjdlog for assertions and aborts as this will log assert/abort messagepjd2011-01-319-241/+197
* Rename pjdlog_verify() to pjdlog_abort() as it better describes what thepjd2011-01-312-7/+7
* Drop privileges in worker processes.pjd2011-01-282-0/+8
* Implement function that drops privileges by:pjd2011-01-283-0/+74
* Use newly added descriptors_assert() function to ensure only expectedpjd2011-01-282-0/+4
* Add function to assert that the only descriptors we have open are the onespjd2011-01-282-0/+142
* Close all unneeded descriptors after fork(2).pjd2011-01-282-12/+22
* Add comments to places where we treat errors as ciritical, but it is possiblepjd2011-01-281-0/+3
* Add function to close all unneeded descriptors after fork(2).pjd2011-01-282-1/+29
* Initialize all global variables on pjdlog_init().pjd2011-01-281-2/+3
* Remember created control connection so on fork(2) we can close it in child.pjd2011-01-272-0/+4
* Close the control socket before exiting, so it will be unlinked.pjd2011-01-271-0/+1
* Extend pjdlog_verify() to support the following additional macros:pjd2011-01-272-9/+44
* Add functions to initialize/finalize pjdlog. This allows to open/close logpjd2011-01-273-1/+71
* Use my copyright for 2011 work.pjd2011-01-271-1/+2
* Add LOG_NDELAY flag to openlog(3) - we want descriptor to be immediately openpjd2011-01-271-1/+1
* - Remove obvious NOTREACHED comment after abort() call.pjd2011-01-271-3/+1
* Remove __dead2 from pjdlog_verify() prototype, it does return sometimes.pjd2011-01-271-1/+1
* Don't open configuration file from worker process. Handle SIGHUP in thepjd2011-01-245-58/+83
* Add missing logs.pjd2011-01-221-4/+5
* Add nv_assert() which allows to assert that the given name exists.pjd2011-01-222-5/+26
* Use more consistent function name with the others (pjdlogv_prefix_set()pjd2011-01-222-3/+3
OpenPOWER on IntegriCloud