summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2016-01-09 17:39:41 +0000
committerdchagin <dchagin@FreeBSD.org>2016-01-09 17:39:41 +0000
commit48b0af056fc8895a654ad8e6f4b63f6cd1bd5128 (patch)
treeae843050717a5ec35cc90fa06a799303cff58fdc /sys/arm
parent6b41a1356a77b6c3f166b550391253454c37267c (diff)
downloadFreeBSD-src-48b0af056fc8895a654ad8e6f4b63f6cd1bd5128.zip
FreeBSD-src-48b0af056fc8895a654ad8e6f4b63f6cd1bd5128.tar.gz
MFC r283479:
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/arm')
-rw-r--r--sys/arm/arm/machdep.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/arm/arm/machdep.c b/sys/arm/arm/machdep.c
index 17e96b5..66dae32 100644
--- a/sys/arm/arm/machdep.c
+++ b/sys/arm/arm/machdep.c
@@ -259,10 +259,6 @@ sendsig(catcher, ksi, mask)
sigexit(td, SIGILL);
}
- /* 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 context to run handler in. We invoke the handler
* directly, only returning via the trampoline. Note the
OpenPOWER on IntegriCloud