diff options
author | Werner Fink <werner@suse.de> | 2018-07-19 14:13:26 +0200 |
---|---|---|
committer | Werner Fink <werner@suse.de> | 2018-07-26 13:57:05 +0200 |
commit | a2496c5de9af7e3ac3ef82a2257d14d8a0ac37fb (patch) | |
tree | 65e81d5db947143628dcd5e687b19100de5f97e5 /man | |
parent | Initial commit based on haveged-1.9.2.tar.gz from http://www.issihosts.com/ha... (diff) | |
download | haveged-a2496c5de9af7e3ac3ef82a2257d14d8a0ac37fb.tar.xz haveged-a2496c5de9af7e3ac3ef82a2257d14d8a0ac37fb.zip |
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>
Diffstat (limited to 'man')
-rw-r--r-- | man/Makefile.in | 15 | ||||
-rw-r--r-- | man/haveged.8 | 18 |
2 files changed, 27 insertions, 6 deletions
diff --git a/man/Makefile.in b/man/Makefile.in index 6fd5bf5..a17153e 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -110,7 +110,7 @@ am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = depcomp = -am__depfiles_maybe = +am__maybe_remake_depfiles = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ @@ -291,8 +291,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) @@ -402,7 +402,10 @@ ctags CTAGS: cscope cscopelist: -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ diff --git a/man/haveged.8 b/man/haveged.8 index 0706fd2..75bc5a2 100644 --- a/man/haveged.8 +++ b/man/haveged.8 @@ -31,6 +31,24 @@ below for further information. -b nnn, --buffer=nnn Set collection buffer size to nnn KW. Default is 128KW (or 512KB). .TP +-c cmd, --command=cmd +Switch to command mode and send a command to an already running +.B haveged +process or daemon. Currently the only knows command is +.IR root = <new_root> +where +.I <new_root> +is a place holder for the path of the real new root directory which should +provide a haveged installation. The +.B haveged +process or daemon will perform a +.BR chroot (2) +system call followed by a +.BR execv (3) +to become rebased +.B within +the new root directory. +.TP -d nnn, --data=nnn Set data cache size to nnn KB. Default is 16 or as determined dynamically. .TP |