mirror of
git://github.com/lxc/lxc
synced 2025-09-05 10:59:34 +00:00
Merge pull request #851 from tych0/set-sid-in-init
start: setsid in init task as well
This commit is contained in:
@@ -851,6 +851,8 @@ static int do_start(void *data)
|
||||
goto out_warn_father;
|
||||
}
|
||||
|
||||
setsid();
|
||||
|
||||
/* after this call, we are in error because this
|
||||
* ops should not return as it execs */
|
||||
handler->ops->start(handler, handler->data);
|
||||
|
Reference in New Issue
Block a user