Commit e55acdd9 authored by Pavel Emelyanov's avatar Pavel Emelyanov

parasite: Cleanup call to parasite_run when launching daemon

The ctl->sig_blocked in this place is the same as sigframe's one,
as ctl's one was copied into sigframe's few steps before.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 389b8146
......@@ -474,8 +474,7 @@ static int parasite_init_daemon(struct parasite_ctl *ctl)
regs = ctl->regs_orig;
if (parasite_run(pid, ctl->parasite_ip, ctl->rstack,
&regs, &ctl->regs_orig,
&RT_SIGFRAME_UC(ctl->sigframe).uc_sigmask))
&regs, &ctl->regs_orig, &ctl->sig_blocked))
goto err;
ctl->tsock = accept_tsock();
......
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