index
:
FreeBSD-src
RELENG_2_2
RELENG_2_3
RELENG_2_3_0
RELENG_2_3_1
RELENG_2_3_2
RELENG_2_3_3
RELENG_2_3_4
RELENG_2_4
RELENG_2_4_4
RELENG_2_4_OLD
devel
devel-11
releng/10.1
releng/10.3
releng/11.0
releng/11.1
stable/10
stable/11
Raptor Engineering's fork of pfsense FreeBSD src with pfSense changes
Raptor Engineering, LLC
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
sbin
/
hastd
/
secondary.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
Declare directions for sockets between primary and secondary.
pjd
2011-04-02
1
-0
/
+7
*
Add mapsize to the header just before sending the packet.
pjd
2011-03-25
1
-1
/
+1
*
Use role2str() when setting process title.
pjd
2011-03-25
1
-1
/
+1
*
Don't create socketpair for connection forwarding between parent and secondary.
pjd
2011-03-23
1
-12
/
+0
*
White space cleanups.
pjd
2011-03-22
1
-2
/
+2
*
When dropping privileges prefer capsicum over chroot+setgid+setuid.
pjd
2011-03-21
1
-1
/
+1
*
Fix typo.
pjd
2011-03-21
1
-1
/
+1
*
Be pedantic and free nvout before exiting.
pjd
2011-03-21
1
-0
/
+1
*
Detect situation where resource internal identifier differs.
pjd
2011-03-21
1
-0
/
+13
*
In hast.conf we define the other node's address in 'remote' variable.
pjd
2011-03-21
1
-3
/
+3
*
For secondary, set 2 * HAST_KEEPALIVE seconds timeout for incoming
trociny
2011-03-17
1
-1
/
+1
*
Make workers inherit debug level from the main process.
trociny
2011-03-11
1
-1
/
+3
*
Setup another socketpair between parent and child, so that primary sandboxed
pjd
2011-02-03
1
-0
/
+12
*
Let the caller log info about successful privilege drop.
pjd
2011-02-03
1
-0
/
+1
*
- Use pjdlog for assertions and aborts as this will log assert/abort message
pjd
2011-01-31
1
-7
/
+6
*
Drop privileges in worker processes.
pjd
2011-01-28
1
-0
/
+3
*
Use newly added descriptors_assert() function to ensure only expected
pjd
2011-01-28
1
-0
/
+2
*
Close all unneeded descriptors after fork(2).
pjd
2011-01-28
1
-6
/
+11
*
Before this change on first connect between primary and secondary we
pjd
2010-10-24
1
-2
/
+11
*
Simplify code a bit.
pjd
2010-10-24
1
-3
/
+1
*
Plug memory leak.
pjd
2010-10-24
1
-0
/
+2
*
Switch to sigprocmask(2) API also in the main process and secondary process.
pjd
2010-09-22
1
-2
/
+4
*
Fix possible deadlock where worker process sends an event to the main process
pjd
2010-09-22
1
-4
/
+14
*
Add __dead2 to functions that we know they are going to exit.
pjd
2010-09-20
1
-1
/
+1
*
Correct error message.
pjd
2010-08-31
1
-1
/
+1
*
Because it is very hard to make fork(2) from threaded process safe (we are
pjd
2010-08-30
1
-4
/
+17
*
Execute hook when connection between the nodes is established or lost.
pjd
2010-08-30
1
-3
/
+21
*
Execute hook when split-brain is detected.
pjd
2010-08-30
1
-0
/
+2
*
Allow to run hooks from the main hastd process.
pjd
2010-08-29
1
-0
/
+3
*
Implement keepalive mechanism inside HAST protocol so we can detect secondary
pjd
2010-08-27
1
-1
/
+13
*
Add QUEUE_INSERT() and QUEUE_TAKE() macros that simplify the code a bit.
pjd
2010-08-27
1
-54
/
+35
*
Reset signal handlers after fork().
pjd
2010-08-05
1
-0
/
+3
*
- Use pjdlog_exitx() to log errors and exit instead of errx().
pjd
2010-08-05
1
-4
/
+6
*
Correct various log messages.
pjd
2010-06-14
1
-1
/
+1
*
Plug memory leak.
pjd
2010-06-14
1
-0
/
+1
*
Fix a problem where hastd will stuck in recv(2) after sending request to
pjd
2010-04-29
1
-0
/
+6
*
Please welcome HAST - Highly Avalable Storage.
pjd
2010-02-18
1
-0
/
+697