[lxc-devel] [lxc/lxc] 5dcc1c: attach: use _exit() instead of exit() in the inter...

GitHub noreply at github.com
Tue Mar 10 01:48:20 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 5dcc1ca6a4094d7763e74a3f93bf510b0edc4f42
      https://github.com/lxc/lxc/commit/5dcc1ca6a4094d7763e74a3f93bf510b0edc4f42
  Author: Johannes Henninger <johannes at henninger.io>
  Date:   2015-02-20 (Fri, 20 Feb 2015)

  Changed paths:
    M src/lxc/attach.c

  Log Message:
  -----------
  attach: use _exit() instead of exit() in the intermediate child process

This prevents on_exit() and atexit() handlers registered by the parent
process from being run in the forked intermediate process.

Signed-off-by: Johannes Henninger <johannes at henninger.io>


  Commit: 7674317572ab521d48b84d2dd061dd7a8cc503dc
      https://github.com/lxc/lxc/commit/7674317572ab521d48b84d2dd061dd7a8cc503dc
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2015-03-09 (Mon, 09 Mar 2015)

  Changed paths:
    M src/lxc/attach.c

  Log Message:
  -----------
  Merge pull request #446 from jhenninger/attach_exit

attach: use _exit() instead of exit() in the intermediate child process


Compare: https://github.com/lxc/lxc/compare/35e68b0447fe...7674317572ab


More information about the lxc-devel mailing list