[lxc-devel] [lxc/lxc] 8c9a76: start: setsid in init task as well
GitHub
noreply at github.com
Fri Feb 26 01:00:24 UTC 2016
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 8c9a76651a9f2106d9e8cc853b848060455858e6
https://github.com/lxc/lxc/commit/8c9a76651a9f2106d9e8cc853b848060455858e6
Author: Tycho Andersen <tycho.andersen at canonical.com>
Date: 2016-02-25 (Thu, 25 Feb 2016)
Changed paths:
M src/lxc/start.c
Log Message:
-----------
start: setsid in init task as well
If we don't do this, we'll leak the parent's session id to the container,
which maybe doesn't matter, but it still seems better to set it anyway.
Also, it breaks CRIU for containers that don't call setsid themselves.
Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
Commit: a71e0967ae9fa92bb75accaa4564a7987be55a13
https://github.com/lxc/lxc/commit/a71e0967ae9fa92bb75accaa4564a7987be55a13
Author: Serge Hallyn <serge at hallyn.com>
Date: 2016-02-25 (Thu, 25 Feb 2016)
Changed paths:
M src/lxc/start.c
Log Message:
-----------
Merge pull request #851 from tych0/set-sid-in-init
start: setsid in init task as well
Compare: https://github.com/lxc/lxc/compare/ad6ea0348c14...a71e0967ae9f
More information about the lxc-devel
mailing list