]> git.ipfire.org Git - thirdparty/lxc.git/commit
attach: use _exit() instead of exit() in the intermediate child process 446/head
authorJohannes Henninger <johannes@henninger.io>
Fri, 20 Feb 2015 13:11:03 +0000 (14:11 +0100)
committerJohannes Henninger <johannes@henninger.io>
Fri, 20 Feb 2015 14:14:54 +0000 (15:14 +0100)
commit5dcc1ca6a4094d7763e74a3f93bf510b0edc4f42
tree55c0746f631679f69e5ec4fc5c2f1dfa70d7e995
parent22fb28a946397ec19b247efe170c15b263bf89af
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@henninger.io>
src/lxc/attach.c