aboutsummaryrefslogtreecommitdiff
path: root/sbin/hastd/hooks.c
Commit message (Expand)AuthorAgeFilesLines
* sbin: Automated cleanup of cdefs and other formattingWarner Losh2023-11-271-1/+0
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
* hastd(8): Fix a typo in a source code commentGordon Bergling2022-04-091-1/+1
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* Remove useless calls to basename().Ed Schouten2016-05-011-2/+1
* For functions that return -1 on failure check exactly for -1 and not forPawel Jakub Dawidek2012-01-101-5/+5
* Use PJDLOG_ASSERT() and PJDLOG_ABORT() everywhere instead of assert().Pawel Jakub Dawidek2011-09-271-20/+19
* Increase debug level of "Checking hooks." message.Pawel Jakub Dawidek2011-03-211-1/+1
* Log when we start hooks checking and when we execute a hook.Pawel Jakub Dawidek2011-03-211-0/+4
* Use snprlcat() instead of two strlcat(3)s.Pawel Jakub Dawidek2011-03-211-2/+3
* execve(2), not fork(2) resets signal handler to the default value (if it isn'tPawel Jakub Dawidek2011-01-121-3/+3
* Add a note that when custom signal handler is installed for a signal,Pawel Jakub Dawidek2011-01-121-0/+5
* Use closefrom(2) instead of close(2) in a loop.Pawel Jakub Dawidek2010-10-201-21/+8
* Clear signal mask before executing a hook.Pawel Jakub Dawidek2010-10-161-0/+3
* hook_check() is now only used to report about long-running hooks, so thePawel Jakub Dawidek2010-10-041-11/+1
* Plug memory leak on fork(2) failure.Pawel Jakub Dawidek2010-09-261-0/+1
* - Add hook_fini() which should be called after fork() from the main hastdPawel Jakub Dawidek2010-08-291-22/+58
* - Run hooks in background - don't block waiting for them to finish.Pawel Jakub Dawidek2010-08-271-18/+222
* When logging to stdout/stderr don't close those descriptors after fork().Pawel Jakub Dawidek2010-08-271-2/+15
* Please welcome HAST - Highly Avalable Storage.Pawel Jakub Dawidek2010-02-181-0/+148