summaryrefslogtreecommitdiffstats
path: root/src/havegecmd.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added --time_interval N to add entropy unconditionally every N secondsJirka Hladky2024-10-011-1/+1
|
* Synchronize haveged instances during switching rootOtto Hollmann2022-11-141-0/+2
|
* Updated Copyright message (year). Added log messagesJirka Hladky2021-12-311-1/+1
|
* Preparing version 1.9.14Jirka Hladky2021-01-011-1/+1
|
* Fix error handling as well as add new commandWerner Fink2020-11-251-0/+17
| | | | | | | for closing the communication socket. As well as get error messages back from running instance to client process. Signed-off-by: Werner Fink <werner@suse.de>
* Fixed https://github.com/jirka-h/haveged/issues/29Jirka Hladky2020-05-111-0/+1
|
* don't use SOCK_CLOEXEC or SOCK_NONBLOCK if not availableJohno Crawford2020-03-181-0/+8
| | | | | | | | | | | | Avoids these errors: havegecmd.c: In function ‘cmd_listen’: havegecmd.c:105: error: ‘SOCK_CLOEXEC’ undeclared (first use in this function) havegecmd.c:105: error: (Each undeclared identifier is reported only once havegecmd.c:105: error: for each function it appears in.) havegecmd.c:105: error: ‘SOCK_NONBLOCK’ undeclared (first use in this function) havegecmd.c: In function ‘cmd_connect’: havegecmd.c:154: error: ‘SOCK_CLOEXEC’ undeclared (first use in this function) havegecmd.c:154: error: ‘SOCK_NONBLOCK’ undeclared (first use in this function)
* Implement a command mode and use it for chrootWerner Fink2018-07-261-0/+77
the current only known command is root=<new_root> which enforce an already running haveged to switch by using chroot(2) to new root file system and to an execv(3) there to become rebased. This allows haveged to survive the switch root within initrd and hold the entropy at high level. Signed-off-by: Werner Fink <werner@suse.de>