[lxc/lxc] 15515f: Revert "initutils: use vfork() in lxc_container_in...

0 views
Skip to first unread message

Wolfgang Bumiller

unread,
Nov 15, 2021, 4:45:35 AM11/15/21
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/stable-4.0
Home: https://github.com/lxc/lxc
Commit: 15515f9a3bdb303cb7d98866ce00496628292d8b
https://github.com/lxc/lxc/commit/15515f9a3bdb303cb7d98866ce00496628292d8b
Author: Wolfgang Bumiller <w.bum...@proxmox.com>
Date: 2021-11-15 (Mon, 15 Nov 2021)

Changed paths:
M src/lxc/initutils.c

Log Message:
-----------
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.bum...@proxmox.com>


Reply all
Reply to author
Forward
0 new messages