summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/secondary.c
Commit message (Expand)AuthorAgeFilesLines
* Declare directions for sockets between primary and secondary.pjd2011-04-021-0/+7
* Add mapsize to the header just before sending the packet.pjd2011-03-251-1/+1
* Use role2str() when setting process title.pjd2011-03-251-1/+1
* Don't create socketpair for connection forwarding between parent and secondary.pjd2011-03-231-12/+0
* White space cleanups.pjd2011-03-221-2/+2
* When dropping privileges prefer capsicum over chroot+setgid+setuid.pjd2011-03-211-1/+1
* Fix typo.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-211-3/+3
* For secondary, set 2 * HAST_KEEPALIVE seconds timeout for incomingtrociny2011-03-171-1/+1
* Make workers inherit debug level from the main process.trociny2011-03-111-1/+3
* Setup another socketpair between parent and child, so that primary sandboxedpjd2011-02-031-0/+12
* Let the caller log info about successful privilege drop.pjd2011-02-031-0/+1
* - Use pjdlog for assertions and aborts as this will log assert/abort messagepjd2011-01-311-7/+6
* Drop privileges in worker processes.pjd2011-01-281-0/+3
* Use newly added descriptors_assert() function to ensure only expectedpjd2011-01-281-0/+2
* Close all unneeded descriptors after fork(2).pjd2011-01-281-6/+11
* Before this change on first connect between primary and secondary wepjd2010-10-241-2/+11
* Simplify code a bit.pjd2010-10-241-3/+1
* Plug memory leak.pjd2010-10-241-0/+2
* Switch to sigprocmask(2) API also in the main process and secondary process.pjd2010-09-221-2/+4
* Fix possible deadlock where worker process sends an event to the main processpjd2010-09-221-4/+14
* Add __dead2 to functions that we know they are going to exit.pjd2010-09-201-1/+1
* Correct error message.pjd2010-08-311-1/+1
* Because it is very hard to make fork(2) from threaded process safe (we arepjd2010-08-301-4/+17
* Execute hook when connection between the nodes is established or lost.pjd2010-08-301-3/+21
* Execute hook when split-brain is detected.pjd2010-08-301-0/+2
* Allow to run hooks from the main hastd process.pjd2010-08-291-0/+3
* Implement keepalive mechanism inside HAST protocol so we can detect secondarypjd2010-08-271-1/+13
* Add QUEUE_INSERT() and QUEUE_TAKE() macros that simplify the code a bit.pjd2010-08-271-54/+35
* Reset signal handlers after fork().pjd2010-08-051-0/+3
* - Use pjdlog_exitx() to log errors and exit instead of errx().pjd2010-08-051-4/+6
* Correct various log messages.pjd2010-06-141-1/+1
* Plug memory leak.pjd2010-06-141-0/+1
* Fix a problem where hastd will stuck in recv(2) after sending request topjd2010-04-291-0/+6
* Please welcome HAST - Highly Avalable Storage.pjd2010-02-181-0/+697
OpenPOWER on IntegriCloud