glibc/signal
Aurelien Jarno d0a2b24eb9 Add tst-sigaction.c to test BZ #23069
This simple test uses sigaction to define a signal handler. It then
uses sigaction again to fetch the information about the same signal
handler, and check that they are consistent. This is enough to detect
mismatches between struct kernel_sigaction and the kernel version of
struct sigaction, like in BZ #23069.

Changelog:
       * signal/tst-sigaction.c: New file to test BZ #23069.
       * signal/Makefile (tests): Fix indentation. Add tst-sigaction.

(cherry picked from commit 7a6f747871)
2021-08-27 16:22:09 -07:00
..
bits/types Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sys initial import 1995-02-18 01:27:10 +00:00
allocrtsig.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
kill.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
killpg.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Makefile Add tst-sigaction.c to test BZ #23069 2021-08-27 16:22:09 -07:00
raise.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigaction.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigaddset.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigaltstack.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigandset.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigblock.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigdelset.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigempty.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigfillset.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
siggetmask.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sighold.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigignore.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigintr.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigisempty.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigismem.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
signal.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
signal.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigorset.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigpause.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigpending.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigprocmask.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigqueue.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigrelse.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigreturn.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigset.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigsetmask.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigsetops.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigstack.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigsuspend.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigtimedwait.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigvec.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigwait.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigwaitinfo.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sysv_signal.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-raise.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-sigaction.c Add tst-sigaction.c to test BZ #23069 2021-08-27 16:22:09 -07:00
tst-signal.c * malloc/memusagestat.c (main): Use return instead of exit to 2000-12-31 10:52:32 +00:00
tst-sigset2.c [BZ #1951] 2006-04-23 19:05:33 +00:00
tst-sigset.c 2003-03-31 Roland McGrath <roland@redhat.com> 2003-04-01 06:49:23 +00:00
tst-sigsimple.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-sigwait-eintr.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Versions Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00