Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 8c9a76651a9f2106d9e8cc853b848060455858e6
      https://github.com/lxc/lxc/commit/8c9a76651a9f2106d9e8cc853b848060455858e6
  Author: Tycho Andersen <tycho.ander...@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.ander...@canonical.com>


  Commit: a71e0967ae9fa92bb75accaa4564a7987be55a13
      https://github.com/lxc/lxc/commit/a71e0967ae9fa92bb75accaa4564a7987be55a13
  Author: Serge Hallyn <se...@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
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to