Systemd/src/libsystemd
Zbigniew Jędrzejewski-Szmek cd2a429ed7 tree-wide: use assert_se() for signal operations with constants
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.
2018-12-21 19:49:28 +01:00
..
sd-bus tree-wide: s/time-out/timeout/g 2018-12-14 11:17:52 +01:00
sd-daemon tree-wide: more IOVEC_MAKE() conversions 2018-11-28 13:08:19 +09:00
sd-device sd-device: ignore bind/unbind events for now 2018-12-21 19:48:13 +01:00
sd-event Merge pull request #10920 from yuwata/hashmap-destructor 2018-12-03 17:59:44 +01:00
sd-hwdb util-lib: split out all temporary file related calls into tmpfiles-util.c 2018-12-02 13:22:29 +01:00
sd-id128 tree-wide: make hash_ops typesafe 2018-12-02 07:53:27 +01:00
sd-login util-lib: split out env file parsing code into env-file.c 2018-12-02 13:22:29 +01:00
sd-netlink Merge pull request #11142 from ssahani/bond-dynamic-tlb 2018-12-17 02:06:05 +01:00
sd-network sd-network: add new API sd_network_link_get_dns_default_route() 2018-12-21 12:10:07 +01:00
sd-path Move LONG_LINE_MAX definition to fileio.h 2018-11-14 16:25:32 +01:00
sd-resolve tree-wide: use assert_se() for signal operations with constants 2018-12-21 19:49:28 +01:00
sd-utf8 tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
disable-mempool.c mempool: only enable mempool use when linked to libsystemd-shared.so 2018-10-11 11:10:37 +02:00
libsystemd.pc.in Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
libsystemd.sym sd-device: add sd_device_monitor_get_event_source() 2018-11-10 22:53:00 +09:00
meson.build Merge pull request #11197 from keszybz/various-fixups 2018-12-18 14:35:00 +01:00