]> git.proxmox.com Git - mirror_lxc.git/commit
Revert "initutils: use vfork() in lxc_container_init()"
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Sat, 13 Nov 2021 17:20:13 +0000 (18:20 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Sat, 13 Nov 2021 18:44:48 +0000 (19:44 +0100)
commit84cf067565a5858a569a7e222d3b61c974bbbca8
tree44cd245a3b3d4a627b774b7d2cac7d794983e10b
parent94e9dc283bf0fd3385f05be85ad6cb5f9bfdc67b
Revert "initutils: use vfork() in lxc_container_init()"

This reverts commit d65e5e492f740bbb50e3005f97420c3ddae3d595.

With vfork the child process modifies the parent's memory,
so the calls to `signal`, `fprintf` and regular `exit` may
be dangerous and might cause conflicting states in the
parent.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/lxc/initutils.c