]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainBuildNamespace: Populate RNGs from daemon's namespace
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 21 Jul 2020 12:37:22 +0000 (14:37 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 3 Aug 2020 17:40:38 +0000 (19:40 +0200)
commit408f64df9ff4b6fec8dab844a9c6fe0a0d6a1aea
tree833839c937aa90b776efe11bf3e2e46d2bcac87b
parentc872905242c17291ccd5c42d33e08f6096d22957
qemuDomainBuildNamespace: Populate RNGs from daemon's namespace

As mentioned in one of previous commits, populating domain's
namespace from pre-exec() hook is dangerous. This commit moves
population of the namespace with domain RNGs into daemon's
namespace.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_namespace.c