Skip to content
Commit ccebcb1f authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

signal/unicore32: Generate siginfo in ucs32_notify_die



Pass the signal number, and the signal code, and the faulting
address into uc32_notify_die so the callers do not need
to generate a struct siginfo.

In ucs32_ntoify_die use the newly passed in information to
call force_sig_fault to generate the siginfo and send the error.

This simplifies the code making the chances of bugs much less likely.

Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 5ee527d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment