diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-11-06 14:53:35 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-11-06 14:53:35 +0000 |
commit | e1d1292908877aa20f42d58ae48140a142cfb1d2 (patch) | |
tree | 3ba114075cb0cbb359caf4c988fc610e44cf2461 | |
parent | e47c24189203bdde0576b1ee3934cb7cb316531f (diff) | |
download | FreeBSD-src-e1d1292908877aa20f42d58ae48140a142cfb1d2.zip FreeBSD-src-e1d1292908877aa20f42d58ae48140a142cfb1d2.tar.gz |
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.
-rw-r--r-- | sys/alpha/alpha/machdep.c | 4 | ||||
-rw-r--r-- | sys/amd64/amd64/machdep.c | 4 | ||||
-rw-r--r-- | sys/i386/i386/machdep.c | 4 | ||||
-rw-r--r-- | sys/ia64/ia64/machdep.c | 2 | ||||
-rw-r--r-- | sys/pc98/i386/machdep.c | 4 | ||||
-rw-r--r-- | sys/pc98/pc98/machdep.c | 4 | ||||
-rw-r--r-- | sys/powerpc/aim/machdep.c | 2 | ||||
-rw-r--r-- | sys/powerpc/powerpc/machdep.c | 2 | ||||
-rw-r--r-- | sys/sparc64/sparc64/machdep.c | 2 |
9 files changed, 0 insertions, 28 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index 888eb42..796b250 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -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; diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index ff69b56..c7efb3b 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -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; diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index ff69b56..c7efb3b 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -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; diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c index 030f8629..3a3c150 100644 --- a/sys/ia64/ia64/machdep.c +++ b/sys/ia64/ia64/machdep.c @@ -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; diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 9031235..388db73 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -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; diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 9031235..388db73 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -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; diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index cec3dd4..32ae7f5 100644 --- a/sys/powerpc/aim/machdep.c +++ b/sys/powerpc/aim/machdep.c @@ -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; diff --git a/sys/powerpc/powerpc/machdep.c b/sys/powerpc/powerpc/machdep.c index cec3dd4..32ae7f5 100644 --- a/sys/powerpc/powerpc/machdep.c +++ b/sys/powerpc/powerpc/machdep.c @@ -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; diff --git a/sys/sparc64/sparc64/machdep.c b/sys/sparc64/sparc64/machdep.c index 8203056..a387704 100644 --- a/sys/sparc64/sparc64/machdep.c +++ b/sys/sparc64/sparc64/machdep.c @@ -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 || |