cd2a429ed7
Continuation of a3ebe5eb620e49f0d24082876cafc7579261e64f: in other places we sometimes use assert_se(), and sometimes normal error handling. sigfillset and sigaddset can only fail if mask is NULL (which cannot happen if we are passing in a reference), or if the signal number is invalid (which really shouldn't happen when we are using a constant like SIGCHLD. If SIGCHLD is invalid, we have a bigger problem). So let's simplify things and always use assert_se() in those cases. In sigset_add_many() we could conceivably pass an invalid signal, so let's keep normal error handling here. The caller can do assert_se() around the sigprocmask_many() call if appropriate. '>= 0' is used for consistency with the rest of the codebase. |
||
---|---|---|
.. | ||
sd-bus | ||
sd-daemon | ||
sd-device | ||
sd-event | ||
sd-hwdb | ||
sd-id128 | ||
sd-login | ||
sd-netlink | ||
sd-network | ||
sd-path | ||
sd-resolve | ||
sd-utf8 | ||
disable-mempool.c | ||
libsystemd.pc.in | ||
libsystemd.sym | ||
meson.build |