Fix a signal emulation bug introduced in r163018 (and present in 7.x).
This prevents 32 bit signal handlers from finding out what the faulting address is. Both the secret 4th argument and siginfo->si_addr are zero.
This commit is contained in:
parent
40f3a90f89
commit
a22600a1dd
@ -2442,7 +2442,7 @@ siginfo_to_siginfo32(siginfo_t *src, struct siginfo32 *dst)
|
||||
dst->si_pid = src->si_pid;
|
||||
dst->si_uid = src->si_uid;
|
||||
dst->si_status = src->si_status;
|
||||
dst->si_addr = dst->si_addr;
|
||||
dst->si_addr = src->si_addr;
|
||||
dst->si_value.sigval_int = src->si_value.sival_int;
|
||||
dst->si_timerid = src->si_timerid;
|
||||
dst->si_overrun = src->si_overrun;
|
||||
|
Loading…
x
Reference in New Issue
Block a user