summaryrefslogtreecommitdiffstats
path: root/sbin/hastd
Commit message (Expand)AuthorAgeFilesLines
* Don't create socketpair for connection forwarding between parent and secondary.pjd2011-03-232-20/+28
* Add my copyright.pjd2011-03-222-0/+2
* After synchronization is complete we should make primary counters betrociny2011-03-221-3/+3
* For requests that are sent only to remote component use thetrociny2011-03-221-2/+7
* The proto API is a general purpose API, so don't use 'hast' in structures orpjd2011-03-227-118/+120
* White space cleanups.pjd2011-03-227-18/+18
* When dropping privileges prefer capsicum over chroot+setgid+setuid.pjd2011-03-214-4/+18
* Initialize localcnt on first write. This fixes assertion when we createpjd2011-03-211-2/+6
* Fix typo.pjd2011-03-211-1/+1
* Before handling any events on descriptors check signals so we can updatepjd2011-03-211-28/+43
* Remove stale comment. Yes, it is valid to set role back to init.pjd2011-03-211-1/+1
* Increase debug level of "Checking hooks." message.pjd2011-03-211-1/+1
* Be pedantic and free nvout before exiting.pjd2011-03-211-0/+1
* Detect situation where resource internal identifier differs.pjd2011-03-211-0/+13
* In hast.conf we define the other node's address in 'remote' variable.pjd2011-03-2114-36/+124
* Log when we start hooks checking and when we execute a hook.pjd2011-03-211-0/+4
* Use snprlcat() instead of two strlcat(3)s.pjd2011-03-211-2/+3
* Add snprlcat() and vsnprlcat() - the functions I'm always missing.pjd2011-03-212-0/+27
* When creating connection on behalf of primary worker, set pjdlog prefixpjd2011-03-211-0/+4
* If there is any traffic on one of out descriptors, we were not checking forpjd2011-03-211-2/+14
* For secondary, set 2 * HAST_KEEPALIVE seconds timeout for incomingtrociny2011-03-173-9/+8
* Remove #include needed for debugging.pjd2011-03-151-1/+0
* 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
OpenPOWER on IntegriCloud