[lxc/lxc] 84cf06: Revert "initutils: use vfork() in lxc_container_in...

0 views
Skip to first unread message

Christian Brauner

unread,
Nov 13, 2021, 5:24:24 PM11/13/21
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 84cf067565a5858a569a7e222d3b61c974bbbca8
https://github.com/lxc/lxc/commit/84cf067565a5858a569a7e222d3b61c974bbbca8
Author: Wolfgang Bumiller <w.bum...@proxmox.com>
Date: 2021-11-13 (Sat, 13 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>


Commit: 7cf6f28ed858307a40128dcfbd676067642d1f27
https://github.com/lxc/lxc/commit/7cf6f28ed858307a40128dcfbd676067642d1f27
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-11-13 (Sat, 13 Nov 2021)

Changed paths:
M src/lxc/initutils.c

Log Message:
-----------
Merge pull request #4035 from Blub/revert-vfork

Revert "initutils: use vfork() in lxc_container_init()"


Compare: https://github.com/lxc/lxc/compare/94e9dc283bf0...7cf6f28ed858
Reply all
Reply to author
Forward
0 new messages