]> granicus.if.org Git - haveged/commit
Implement a command mode and use it for chroot
authorWerner Fink <werner@suse.de>
Thu, 19 Jul 2018 12:13:26 +0000 (14:13 +0200)
committerWerner Fink <werner@suse.de>
Thu, 26 Jul 2018 11:57:05 +0000 (13:57 +0200)
commita2496c5de9af7e3ac3ef82a2257d14d8a0ac37fb
tree65e81d5db947143628dcd5e687b19100de5f97e5
parent2b60a12e3d4a3fa43af356e09ab32b82b63b60dc
Implement a command mode and use it for chroot

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>
19 files changed:
config.h.in
configure
configure.ac
contrib/SUSE/haveged-dracut.module [new file with mode: 0755]
contrib/SUSE/haveged-switch-root.service [new file with mode: 0644]
contrib/build/lib.spec
ent/Makefile.in
init.d/Makefile.in
init.d/service.suse
man/Makefile.in
man/haveged.8
nist/Makefile.in
nist/nist.c
src/Makefile.am
src/Makefile.in
src/havegecmd.c [new file with mode: 0644]
src/havegecmd.h [new file with mode: 0644]
src/haveged.c
src/haveged.h