Commit 2edc126b authored by Jan Kiszka's avatar Jan Kiszka

Revert "cobalt/posix: Evaluate return code of signal_copyinfo extensions"

This reverts commit e2520f81.

The change was simply wrong, the return code was already passed, but
that is hidden in the parameter list of cobalt_call_extension. The
latter return 1 if a callback was invoked.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 2df4bf25
......@@ -349,18 +349,17 @@ done:
ret = sys32_put_siginfo(u_si, sip, overrun);
if (!ret)
/* Allow an extended target to receive more data. */
ret = cobalt_call_extension(signal_copyinfo_compat,
&curr->extref, ret, u_si,
sip, overrun);
cobalt_call_extension(signal_copyinfo_compat,
&curr->extref, ret, u_si, sip,
overrun);
} else
#endif
{
ret = signal_put_siginfo(u_si, sip, overrun);
if (!ret)
/* Allow an extended target to receive more data. */
ret = cobalt_call_extension(signal_copyinfo,
&curr->extref, ret, u_si,
sip, overrun);
cobalt_call_extension(signal_copyinfo, &curr->extref,
ret, u_si, sip, overrun);
}
out:
......
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