Commit a71e0967 by Serge Hallyn

Merge pull request #851 from tych0/set-sid-in-init

start: setsid in init task as well
parents ad6ea034 8c9a7665
...@@ -851,6 +851,8 @@ static int do_start(void *data) ...@@ -851,6 +851,8 @@ static int do_start(void *data)
goto out_warn_father; goto out_warn_father;
} }
setsid();
/* after this call, we are in error because this /* after this call, we are in error because this
* ops should not return as it execs */ * ops should not return as it execs */
handler->ops->start(handler, handler->data); handler->ops->start(handler, handler->data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment