]> git.ipfire.org Git - thirdparty/lxc.git/commit
attach: use _exit() instead of exit() in the intermediate child process
authorJohannes Henninger <johannes@henninger.io>
Fri, 20 Feb 2015 13:11:03 +0000 (14:11 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 14 Aug 2015 16:45:27 +0000 (12:45 -0400)
commitc02db614d01dd1a8093eab226a0d5fcf494624a7
tree0cabd7adc3cf8b65f2db9ab436506c536342b0df
parent5fa64b00063581958777819eaf3be8e1570e63cd
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