glibc/signal
Adhemerval Zanella 566e10aa72 signal: Only handle on NSIG signals on signal functions (BZ #25657)
The upper bits of the sigset_t s not fully initialized in the signal
mask calls that return information from kernel (sigprocmask,
sigpending, and pthread_sigmask), since the exported sigset_t size
(1024 bits) is larger than Linux support one (64 or 128 bits).
It might make sigisemptyset/sigorset/sigandset fail if the mask
is filled prior the call.

This patch changes the internal signal function to handle up to
supported Linux signal number (_NSIG), the remaining bits are
untouched.

Checked on x86_64-linux-gnu and i686-linux-gnu.
2020-04-21 15:10:10 -03:00
..
bits/types Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sys
allocrtsig.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
kill.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
killpg.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Makefile signal: Only handle on NSIG signals on signal functions (BZ #25657) 2020-04-21 15:10:10 -03:00
raise.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigaction.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigaddset.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigaltstack.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigandset.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigblock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigdelset.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigempty.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigfillset.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
siggetmask.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sighold.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigignore.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigintr.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigisempty.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigismem.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
signal.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
signal.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigorset.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigpause.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigpending.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigprocmask.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigqueue.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigrelse.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigreturn.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigset.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigsetmask.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigsetops.c signal: Only handle on NSIG signals on signal functions (BZ #25657) 2020-04-21 15:10:10 -03:00
sigstack.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigsuspend.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigtimedwait.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigvec.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigwait.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigwaitinfo.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sysv_signal.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-minsigstksz-1.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-minsigstksz-2.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-minsigstksz-3.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-minsigstksz-3a.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-minsigstksz-4.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-raise.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-sigaction.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-sigisemptyset.c signal: Only handle on NSIG signals on signal functions (BZ #25657) 2020-04-21 15:10:10 -03:00
tst-signal.c
tst-sigset2.c
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. 2020-01-01 00:14:33 +00:00
tst-sigwait-eintr.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Versions Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00