Systemd/src/libsystemd
Zbigniew Jędrzejewski-Szmek a5648b8094 basic/fs-util: change CHASE_OPEN flag into a separate output parameter
chase_symlinks() would return negative on error, and either a non-negative status
or a non-negative fd when CHASE_OPEN was given. This made the interface quite
complicated, because dependning on the flags used, we would get two different
"types" of return object. Coverity was always confused by this, and flagged
every use of chase_symlinks() without CHASE_OPEN as a resource leak (because it
would this that an fd is returned). This patch uses a saparate output parameter,
so there is no confusion.

(I think it is OK to have functions which return either an error or an fd. It's
only returning *either* an fd or a non-fd that is confusing.)
2019-10-24 22:44:24 +09:00
..
sd-bus Merge pull request #13246 from keszybz/add-SystemdOptions-efi-variable 2019-10-03 12:19:44 +02:00
sd-daemon sd-daemon: make sd_booted() return negative errno on unexpected error 2019-02-07 14:44:44 +01:00
sd-device basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
sd-event sd-event: explicitly ignore waitipid()'s return value 2019-10-01 10:25:12 +02:00
sd-hwdb sd-hwdb: use return value from ordered_hashmap_iterate() 2019-08-03 17:43:51 +02:00
sd-id128 sd-id128: expose ID128_UUID_FORMAT_STR 2019-04-05 13:47:54 +02:00
sd-login tree-wide: get rid of strappend() 2019-07-12 14:31:12 +09:00
sd-netlink sd-netlink: add nl80211 type systems 2019-10-15 01:57:19 +09:00
sd-network network: DHCP server Add support to transmit SIP server 2019-09-20 21:22:23 +09:00
sd-path tree-wide: get rid of strappend() 2019-07-12 14:31:12 +09:00
sd-resolve sd-resolve: suppress false positive MSan warnings 2019-06-19 15:48:36 +02: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 meson: define PROJECT_VERSION as the "bare" project version 2018-12-20 21:35:29 +01:00
libsystemd.sym sd-event: add sd_event_source_disable_unref() helper 2019-05-10 16:55:35 +02:00
meson.build sd-netlink: save dynamic general netlink message type 2019-10-15 01:57:19 +09:00