Files
systemd/src/basic
Zbigniew Jędrzejewski-Szmek cd2a429ed7 tree-wide: use assert_se() for signal operations with constants
Continuation of a3ebe5eb62:
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.
2018-12-21 19:49:28 +01:00
..
2018-10-26 10:52:41 +02:00
2018-10-26 10:52:41 +02:00
2018-06-29 11:02:17 +09:00
2018-06-14 13:03:20 +02:00
2018-06-14 13:03:20 +02:00
2018-06-14 13:03:20 +02:00
2018-12-06 07:01:29 +01:00
2018-12-07 11:48:41 +09:00
2018-12-07 12:46:55 +01:00
2018-05-22 16:13:45 +02:00
2018-11-26 22:17:34 +01:00
2018-06-29 11:02:17 +09:00
2018-11-26 14:06:01 +01:00
2018-06-29 11:02:17 +09:00
2018-10-26 10:52:41 +02:00
2018-09-26 16:14:29 +02:00
2018-09-26 16:14:29 +02:00
2018-09-25 15:57:47 +02:00