glibc/signal
Zack Weinberg fbbc9a4e34 Tests for minimal signal handler functionality in MINSIGSTKSZ space.
There is general agreement that the very short list of things that ISO
C says you can do in an async signal handler should all work when the
handler is running on an alternate signal stack with only MINSIGSTKSZ
space.  This patch adds tests to make sure those things do work.

To facilitate this, there is a new set of test support routines for
setting up alternate signal stacks; see support/xsignal.h for the API.

         * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
         (xget_sigstack_location): New test support functions.
         * support/xsigstack.c: New file, implementing them.
         * support/tst-xsigstack.c: New test for them.
         * support/Makefile: Update.

         * signal/tst-minsigstksz-1.c
         * signal/tst-minsigstksz-2.c
         * signal/tst-minsigstksz-3.c
         * signal/tst-minsigstksz-3a.c
         * signal/tst-minsigstksz-4.c: New tests.
         * signal/Makefile: Run them.
2019-01-16 09:04:10 -05:00
..
bits/types Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sys initial import 1995-02-18 01:27:10 +00:00
allocrtsig.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
kill.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
killpg.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Makefile Tests for minimal signal handler functionality in MINSIGSTKSZ space. 2019-01-16 09:04:10 -05:00
raise.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigaction.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigaddset.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigaltstack.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigandset.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigblock.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigdelset.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigempty.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigfillset.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
siggetmask.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sighold.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigignore.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigintr.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigisempty.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigismem.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
signal.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
signal.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigorset.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigpause.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigpending.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigprocmask.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigqueue.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigrelse.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigreturn.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigset.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigsetmask.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigsetops.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigstack.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigsuspend.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigtimedwait.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigvec.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigwait.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigwaitinfo.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sysv_signal.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-minsigstksz-1.c Tests for minimal signal handler functionality in MINSIGSTKSZ space. 2019-01-16 09:04:10 -05:00
tst-minsigstksz-2.c Tests for minimal signal handler functionality in MINSIGSTKSZ space. 2019-01-16 09:04:10 -05:00
tst-minsigstksz-3.c Tests for minimal signal handler functionality in MINSIGSTKSZ space. 2019-01-16 09:04:10 -05:00
tst-minsigstksz-3a.c Tests for minimal signal handler functionality in MINSIGSTKSZ space. 2019-01-16 09:04:10 -05:00
tst-minsigstksz-4.c Tests for minimal signal handler functionality in MINSIGSTKSZ space. 2019-01-16 09:04:10 -05:00
tst-raise.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-sigaction.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00: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 Filter out NPTL internal signals (BZ #22391) 2018-04-03 13:30:49 -03:00
tst-sigsimple.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-sigwait-eintr.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Versions Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00