uloop: properly initialize signal handler mask
authorJo-Philipp Wich <jo@mein.io>
Fri, 3 Nov 2023 21:24:04 +0000 (22:24 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 3 Nov 2023 21:27:57 +0000 (22:27 +0100)
commitf7d1569113110ea8df071d2ea64fd17aaf5b42c9
tree30803245b1dbb917dee322b2b1d8c2c559ae414a
parent13d9b04fb09d39a7204ba1e9cc9c8403fa22efa8
uloop: properly initialize signal handler mask

The structure passed to `sigaction()` left it's `sa_mask` member uninitialized.

Fixes: beb356b ("uloop: add support for user defined signal handlers")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
uloop.c