]> granicus.if.org Git - musl/commit
consistently use _NSIG/8 idiom for kernel sigset size in sigaction
authorRich Felker <dalias@aerifal.cx>
Sat, 1 Sep 2018 18:14:32 +0000 (14:14 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 1 Sep 2018 18:14:32 +0000 (14:14 -0400)
commitd0d212525ec7d08a4770fba97aa913ea34cafdb2
tree3d4e0c971d62cfee315b99913a87c8ecbe9e2544
parent9b14ad541068d4f7d0be9bcd1ff4c70090d868d3
consistently use _NSIG/8 idiom for kernel sigset size in sigaction

this code in sigaction was the only place where sizeof was being
applied to the kernel sigaction's mask member to get the size argument
to pass to the kernel. everywhere else, _NSIG/8 is used for this
purpose.
src/signal/sigaction.c