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:
Peter Wemm 2008-11-10 23:26:52 +00:00
parent 40f3a90f89
commit a22600a1dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184828

View File

@ -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;