]> git.ipfire.org Git - thirdparty/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)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 15 Nov 2021 09:45:15 +0000 (10:45 +0100)
commit15515f9a3bdb303cb7d98866ce00496628292d8b
tree03ff110e8ae658405cf1165060fba7b71902e21f
parent41d2530d1de493f1508c8a5171cce8b9908f3bf6
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