musl/src/signal
Rich Felker 7d3512126d use tkill instead of tgkill in implementing raise
this shaves off a useless syscall for getting the caller's pid and
brings raise into alignment with other functions which were adapted to
use tkill rather than tgkill.

commit 83dc6eb087 documents the
rationale for this change, and in particular why the tgkill syscall is
useless for its designed purpose of avoiding races.
2014-12-18 20:44:51 -05:00
..
arm add __sigsetjmp ABI-compat alias for sigsetjmp 2014-04-02 19:32:57 -04:00
i386 add __sigsetjmp ABI-compat alias for sigsetjmp 2014-04-02 19:32:57 -04:00
microblaze add __sigsetjmp ABI-compat alias for sigsetjmp 2014-04-02 19:32:57 -04:00
mips add __sigsetjmp ABI-compat alias for sigsetjmp 2014-04-02 19:32:57 -04:00
or1k add or1k (OpenRISC 1000) architecture port 2014-07-18 14:10:23 -04:00
powerpc add __sigsetjmp ABI-compat alias for sigsetjmp 2014-04-02 19:32:57 -04:00
sh add __sigsetjmp ABI-compat alias for sigsetjmp 2014-04-02 19:32:57 -04:00
x32 add __sigsetjmp ABI-compat alias for sigsetjmp 2014-04-02 19:32:57 -04:00
x86_64 add __sigsetjmp ABI-compat alias for sigsetjmp 2014-04-02 19:32:57 -04:00
block.c transition to using functions for internal signal blocking/restoring 2013-04-26 19:48:01 -04:00
getitimer.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
kill.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
killpg.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
psiginfo.c fix missing prototypes/wrong signature for psiginfo, psignal 2011-09-02 14:25:43 -04:00
psignal.c implement psignal and psiginfo 2011-06-08 16:41:44 -04:00
raise.c use tkill instead of tgkill in implementing raise 2014-12-18 20:44:51 -05:00
restore.c changes to kernel sigaction struct handling in preparation for mips port 2012-07-11 02:44:14 -04:00
setitimer.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
sigaction.c always initialize thread pointer at program start 2014-03-24 16:57:11 -04:00
sigaddset.c change sigset_t functions to restrict to _NSIG 2013-08-09 21:25:29 -04:00
sigaltstack.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
sigandset.c fix const-correctness in sigandset/sigorset arguments 2014-01-07 02:50:34 -05:00
sigdelset.c change sigset_t functions to restrict to _NSIG 2013-08-09 21:25:29 -04:00
sigemptyset.c fix sigemptyset and sigfillset for mips 2013-09-16 12:58:51 -04:00
sigfillset.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
sighold.c use 0 instead of NULL for null pointer constants 2013-12-13 02:20:07 -05:00
sigignore.c use 0 instead of NULL for null pointer constants 2013-12-13 02:20:07 -05:00
siginterrupt.c use 0 instead of NULL for null pointer constants 2013-12-13 02:20:07 -05:00
sigisemptyset.c change sigset_t functions to restrict to _NSIG 2013-08-09 21:25:29 -04:00
sigismember.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
siglongjmp.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
signal.c add __sysv_signal abi-compat alias for the signal function 2014-06-22 00:39:03 -04:00
sigorset.c fix const-correctness in sigandset/sigorset arguments 2014-01-07 02:50:34 -05:00
sigpause.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
sigpending.c remove __SYSCALL_SSLEN arch macro in favor of using public _NSIG 2013-03-26 23:07:31 -04:00
sigprocmask.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
sigqueue.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
sigrelse.c use 0 instead of NULL for null pointer constants 2013-12-13 02:20:07 -05:00
sigrtmax.c fix _NSIG and SIGRTMAX on mips 2013-08-10 23:39:43 -04:00
sigrtmin.c use a separate signal from SIGCANCEL for SIGEV_THREAD timers 2011-04-14 12:51:00 -04:00
sigset.c use 0 instead of NULL for null pointer constants 2013-12-13 02:20:07 -05:00
sigsetjmp.c add __sigsetjmp ABI-compat alias for sigsetjmp 2014-04-02 19:32:57 -04:00
sigsuspend.c remove __SYSCALL_SSLEN arch macro in favor of using public _NSIG 2013-03-26 23:07:31 -04:00
sigtimedwait.c remove __SYSCALL_SSLEN arch macro in favor of using public _NSIG 2013-03-26 23:07:31 -04:00
sigwait.c use 0 instead of NULL for null pointer constants 2013-12-13 02:20:07 -05:00
sigwaitinfo.c use 0 instead of NULL for null pointer constants 2013-12-13 02:20:07 -05:00