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-11-22 10:54:38 +01:00
2018-12-01 12:50:45 +01:00
2018-12-21 16:15:14 +01:00
2018-11-22 10:54:38 +01:00
2018-11-26 14:08:46 +01:00
2018-12-21 19:49:28 +01:00
2018-11-22 10:54:38 +01:00
2018-12-14 08:22:54 +01:00
2018-12-14 08:22:54 +01:00
2018-11-22 10:54:38 +01:00
2018-11-20 11:18:22 +01:00
2018-12-02 12:06:07 +01:00
2018-12-19 11:37:41 +01:00
2018-12-12 20:47:40 +01:00
2018-12-12 21:58:00 +01:00
2018-12-12 21:58:00 +01:00
2018-12-14 08:22:54 +01:00
2018-11-22 10:54:38 +01:00
2018-11-22 10:54:38 +01:00
2018-12-02 13:22:29 +01:00
2018-11-22 10:54:38 +01:00
2018-12-14 08:22:54 +01:00
2018-12-12 20:47:40 +01:00
2018-12-15 12:06:44 +01:00
2018-12-17 09:27:21 +01:00
2018-12-12 21:58:00 +01:00
2018-12-20 11:37:41 +01:00
2018-11-22 10:54:38 +01:00
2018-12-17 11:29:58 +01:00
2018-11-20 18:40:02 +01:00
2018-11-22 10:54:38 +01:00
2018-12-06 17:19:21 +01:00
2018-11-22 10:54:38 +01:00
2018-12-21 19:49:28 +01:00
2018-12-08 18:09:40 +09:00
2018-12-21 19:49:28 +01:00
2018-12-20 13:40:39 +01:00
2018-11-23 09:16:11 +01:00
2018-12-04 16:19:02 +01:00
2018-12-21 18:23:17 +01:00
2018-12-18 15:03:05 +01:00
2018-11-22 10:54:38 +01:00
2018-11-20 18:40:02 +01:00
2018-11-29 21:03:44 +01:00
2018-12-21 12:10:07 +01:00
2018-11-22 10:54:38 +01:00
2018-12-12 20:47:40 +01:00
2018-12-01 12:50:45 +01:00
2018-11-22 10:54:38 +01:00
2018-12-14 08:22:54 +01:00
2018-12-01 12:50:45 +01:00
2018-11-22 10:54:38 +01:00
2018-12-12 21:58:00 +01:00
2018-12-18 14:47:44 +01:00
2018-11-20 11:18:22 +01:00
2018-12-21 12:10:07 +01:00
2018-12-17 13:50:51 +01:00
2018-11-26 14:08:46 +01:00
2018-12-12 21:58:00 +01:00
2018-12-21 18:23:17 +01:00
2018-11-22 10:54:38 +01:00
2018-12-17 10:02:36 +09:00
2018-11-22 10:54:38 +01:00
2018-12-01 12:50:45 +01:00
2018-12-16 21:01:39 -08:00
2018-12-12 21:58:00 +01:00
2018-12-18 14:35:00 +01:00
2018-12-21 12:10:07 +01:00
2018-12-03 17:59:44 +01:00
2018-12-12 21:58:00 +01:00
2018-12-21 19:48:51 +01:00
2018-11-23 06:22:30 +09:00
2018-12-12 20:49:04 +01:00
2018-12-18 00:59:14 +01:00
2018-12-12 16:45:33 +01:00
2018-11-22 10:54:38 +01:00
2018-12-21 15:49:18 +01:00
2018-11-23 06:22:30 +09:00
2018-11-23 06:22:30 +09:00
2018-12-04 09:29:54 +01:00
2018-12-13 08:30:20 +01:00
2018-12-12 21:58:00 +01:00
2018-11-29 21:03:44 +01:00