Remove what was a temporary bogus assignment of bits of siginfo_t, as it does

not look like the prerequisites to fill it in properly will be in the tree
for the upcoming release, but it's mostly done, so there is no need for these
to stay around to remind us.
This commit is contained in:
jmallett 2002-11-06 14:53:35 +00:00
parent c400894e89
commit c9da5e8fcb
9 changed files with 0 additions and 28 deletions

View File

@ -1370,8 +1370,6 @@ freebsd4_sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code)
sf.sf_si.si_signo = sig;
sf.sf_si.si_code = code;
sf.sf_si.si_addr = (void*)frame->tf_regs[FRAME_TRAPARG_A0];
sf.sf_si.si_pid = p->p_pid;
sf.sf_si.si_uid = p->p_ucred->cr_uid;
}
else
frame->tf_regs[FRAME_A1] = code;
@ -1512,8 +1510,6 @@ sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code)
sf.sf_si.si_signo = sig;
sf.sf_si.si_code = code;
sf.sf_si.si_addr = (void*)frame->tf_regs[FRAME_TRAPARG_A0];
sf.sf_si.si_pid = p->p_pid;
sf.sf_si.si_uid = p->p_ucred->cr_uid;
}
else
frame->tf_regs[FRAME_A1] = code;

View File

@ -472,8 +472,6 @@ freebsd4_sendsig(catcher, sig, mask, code)
sf.sf_si.si_signo = sig;
sf.sf_si.si_code = code;
sf.sf_si.si_addr = (void *)regs->tf_err;
sf.sf_si.si_pid = p->p_pid;
sf.sf_si.si_uid = p->p_ucred->cr_uid;
} else {
/* Old FreeBSD-style arguments. */
sf.sf_siginfo = code;
@ -609,8 +607,6 @@ sendsig(catcher, sig, mask, code)
sf.sf_si.si_signo = sig;
sf.sf_si.si_code = code;
sf.sf_si.si_addr = (void *)regs->tf_err;
sf.sf_si.si_pid = p->p_pid;
sf.sf_si.si_uid = p->p_ucred->cr_uid;
} else {
/* Old FreeBSD-style arguments. */
sf.sf_siginfo = code;

View File

@ -472,8 +472,6 @@ freebsd4_sendsig(catcher, sig, mask, code)
sf.sf_si.si_signo = sig;
sf.sf_si.si_code = code;
sf.sf_si.si_addr = (void *)regs->tf_err;
sf.sf_si.si_pid = p->p_pid;
sf.sf_si.si_uid = p->p_ucred->cr_uid;
} else {
/* Old FreeBSD-style arguments. */
sf.sf_siginfo = code;
@ -609,8 +607,6 @@ sendsig(catcher, sig, mask, code)
sf.sf_si.si_signo = sig;
sf.sf_si.si_code = code;
sf.sf_si.si_addr = (void *)regs->tf_err;
sf.sf_si.si_pid = p->p_pid;
sf.sf_si.si_uid = p->p_ucred->cr_uid;
} else {
/* Old FreeBSD-style arguments. */
sf.sf_siginfo = code;

View File

@ -927,8 +927,6 @@ sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code)
sf.sf_si.si_signo = sig;
sf.sf_si.si_code = code;
sf.sf_si.si_addr = (void*)frame->tf_cr_ifa;
sf.sf_si.si_pid = p->p_pid;
sf.sf_si.si_uid = p->p_ucred->cr_uid;
}
else
frame->tf_r[FRAME_R15] = code;

View File

@ -492,8 +492,6 @@ freebsd4_sendsig(catcher, sig, mask, code)
sf.sf_si.si_signo = sig;
sf.sf_si.si_code = code;
sf.sf_si.si_addr = (void *)regs->tf_err;
sf.sf_si.si_pid = p->p_pid;
sf.sf_si.si_uid = p->p_ucred->cr_uid;
} else {
/* Old FreeBSD-style arguments. */
sf.sf_siginfo = code;
@ -629,8 +627,6 @@ sendsig(catcher, sig, mask, code)
sf.sf_si.si_signo = sig;
sf.sf_si.si_code = code;
sf.sf_si.si_addr = (void *)regs->tf_err;
sf.sf_si.si_pid = p->p_pid;
sf.sf_si.si_uid = p->p_ucred->cr_uid;
} else {
/* Old FreeBSD-style arguments. */
sf.sf_siginfo = code;

View File

@ -492,8 +492,6 @@ freebsd4_sendsig(catcher, sig, mask, code)
sf.sf_si.si_signo = sig;
sf.sf_si.si_code = code;
sf.sf_si.si_addr = (void *)regs->tf_err;
sf.sf_si.si_pid = p->p_pid;
sf.sf_si.si_uid = p->p_ucred->cr_uid;
} else {
/* Old FreeBSD-style arguments. */
sf.sf_siginfo = code;
@ -629,8 +627,6 @@ sendsig(catcher, sig, mask, code)
sf.sf_si.si_signo = sig;
sf.sf_si.si_code = code;
sf.sf_si.si_addr = (void *)regs->tf_err;
sf.sf_si.si_pid = p->p_pid;
sf.sf_si.si_uid = p->p_ucred->cr_uid;
} else {
/* Old FreeBSD-style arguments. */
sf.sf_siginfo = code;

View File

@ -570,8 +570,6 @@ sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code)
sf.sf_si.si_signo = sig;
sf.sf_si.si_code = code;
sf.sf_si.si_addr = (void *)tf->srr0;
sf.sf_si.si_pid = p->p_pid;
sf.sf_si.si_uid = p->p_ucred->cr_uid;
} else {
/* Old FreeBSD-style arguments. */
tf->fixreg[FIRSTARG+1] = code;

View File

@ -570,8 +570,6 @@ sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code)
sf.sf_si.si_signo = sig;
sf.sf_si.si_code = code;
sf.sf_si.si_addr = (void *)tf->srr0;
sf.sf_si.si_pid = p->p_pid;
sf.sf_si.si_uid = p->p_ucred->cr_uid;
} else {
/* Old FreeBSD-style arguments. */
tf->fixreg[FIRSTARG+1] = code;

View File

@ -424,8 +424,6 @@ sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code)
sf.sf_si.si_signo = sig;
sf.sf_si.si_code = code;
sf.sf_si.si_addr = (void *)tf->tf_sfar;
sf.sf_si.si_pid = p->p_pid;
sf.sf_si.si_uid = td->td_ucred->cr_uid;
/* Copy the sigframe out to the user's stack. */
if (rwindow_save(td) != 0 || copyout(&sf, sfp, sizeof(*sfp)) != 0 ||