summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2015-05-24 17:56:02 +0000
committerdchagin <dchagin@FreeBSD.org>2015-05-24 17:56:02 +0000
commit0969667a9e5e286b042c676f840f1f040568bb3f (patch)
treed49e6dde4e46b23fba80093b593fd31c8119eadd /sys/sparc64
parente6b9e124206fe6f171daa4a76b50bfe261912a8a (diff)
downloadFreeBSD-src-0969667a9e5e286b042c676f840f1f040568bb3f.zip
FreeBSD-src-0969667a9e5e286b042c676f840f1f040568bb3f.tar.gz
The kernel sends signals to the processes via ABI specific sv_sendsig method.
Native ABI do not need signal conversion, only emulators may want this. Usually emulators implements its own sv_sendsig method. For now only ibcs2 emulator does not have own sv_sendsig implementation and depends on native sendsig() method. So, remove any extra attempts to convert signal numbers from native sendsig() methods except from i386 where ibsc2 is living.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/sparc64/machdep.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/sparc64/sparc64/machdep.c b/sys/sparc64/sparc64/machdep.c
index 67f7d64..a95bc63 100644
--- a/sys/sparc64/sparc64/machdep.c
+++ b/sys/sparc64/sparc64/machdep.c
@@ -654,10 +654,6 @@ sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask)
fp = (struct frame *)sfp - 1;
- /* Translate the signal if appropriate. */
- if (p->p_sysent->sv_sigtbl && sig <= p->p_sysent->sv_sigsize)
- sig = p->p_sysent->sv_sigtbl[_SIG_IDX(sig)];
-
/* Build the argument list for the signal handler. */
tf->tf_out[0] = sig;
tf->tf_out[2] = (register_t)&sfp->sf_uc;
OpenPOWER on IntegriCloud