]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainBuildNamespace: Populate loader from daemon's namespace
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 21 Jul 2020 12:49:42 +0000 (14:49 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 3 Aug 2020 17:40:38 +0000 (19:40 +0200)
commit6483b1e32b086dff93bd84dae2f5c9a87ddf0809
treefa993e4913468f0f9d7b7bcaeff68ae87a582bee
parent408f64df9ff4b6fec8dab844a9c6fe0a0d6a1aea
qemuDomainBuildNamespace: Populate loader 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 loader 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