about summary refs log tree commit diff
path: root/vlogger.c
diff options
context:
space:
mode:
authorCameron Nemo <cnemo@tutanota.com>2019-10-03 12:20:56 -0700
committerCameron Nemo <cnorman@cenic.org>2019-10-03 12:20:56 -0700
commitc3c7749db06a520457bbac810018dafa0729acde (patch)
tree0f7d6b4c9ca4e7bee7a0c08c3dddc63f79c89c41 /vlogger.c
parentabd5e95bc3ec7cc4ef2c2bd7c7b04efefc0ec566 (diff)
downloadrunit-void-c3c7749db06a520457bbac810018dafa0729acde.tar.gz
runit-void-c3c7749db06a520457bbac810018dafa0729acde.tar.xz
runit-void-c3c7749db06a520457bbac810018dafa0729acde.zip
fix(urandom): avoid uninitialized read during boot
Regenerating the stored seed was an attempt to prevent hard shutdowns
from leading to seed reuse.
Unfortunately, this practice depletes any entropy that was added by
the seed.
Furthermore on newer kernels which do not credit entropy added from
userspace, the operation is often an uninitialized read of urandom.
Diffstat (limited to 'vlogger.c')
0 files changed, 0 insertions, 0 deletions