change sigset_t functions to restrict to _NSIG
authorRich Felker <dalias@aerifal.cx>
Sat, 10 Aug 2013 01:25:29 +0000 (21:25 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 10 Aug 2013 01:25:29 +0000 (21:25 -0400)
commit76fbf6ad4bb2f697512a1541d296c1f749e3b504
tree243dab65e7e8f30633c516330d3540ea620fc135
parent3c5c5e6f926feea7b823a96c2872885b100fe31f
change sigset_t functions to restrict to _NSIG

the idea here is to avoid advertising signals that don't exist and to
make these functions safe to call (e.g. from within other parts of the
implementation) on fake sigset_t objects which do not have the HURD
padding.
src/signal/sigaddset.c
src/signal/sigdelset.c
src/signal/sigisemptyset.c
src/signal/sigismember.c