Systemd/src
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
..
ac-power
activate activate: move array allocation to heap 2019-07-16 14:56:25 +02:00
analyze Fix typo in analyze-security.c. 2019-08-11 06:08:42 +09:00
ask-password
backlight util-lib: move shall_restore_state() to shared/reboot-util 2019-09-16 18:08:01 +02:00
basic basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
binfmt tree-wide: get rid of strappend() 2019-07-12 14:31:12 +09:00
boot Move the Commands section above Options section 2019-10-08 18:21:26 +02:00
busctl Highlight the synopsis and summary in --help 2019-10-08 18:21:27 +02:00
cgls tree-wide: replace strjoin() with path_join() 2019-06-21 03:26:16 +09:00
cgroups-agent
cgtop tree-wide: replace strjoin() with path_join() 2019-06-21 03:26:16 +09:00
core basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
coredump coredump: Include module offsets in stack traces 2019-10-18 15:26:47 +02:00
cryptsetup cryptsetup: bump minimum libcryptsetup version to v2.0.1 2019-10-01 13:34:06 +02:00
debug-generator util-lib: move runlevel_to_target() to shared/unit-file 2019-09-16 18:08:00 +02:00
delta basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
detect-virt
dissect
environment-d-generator environment-d-generator: output logs in debug mode 2019-08-30 13:17:37 +02:00
escape
firstboot firstboot: drop duplicate trailing whitespace from root pw question 2019-08-11 06:13:57 +09:00
fsck systemd-fsck: fix systemd-fsck/fsck pipe bad closure 2019-10-18 16:07:00 +02:00
fstab-generator basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
fuzz udev: Add id program and rule for FIDO security tokens 2019-09-07 02:23:58 +09:00
getty-generator tree-wide: make use of errno_or_else() everywhere 2019-07-11 23:20:31 +02:00
gpt-auto-generator util-lib: split shared/efivars into basic/efivars and shared/efi-loader 2019-09-16 18:08:53 +02:00
hibernate-resume
hostname Highlight the synopsis and summary in --help 2019-10-08 18:21:27 +02:00
hwdb
id128 id128: actually support --pretty 2019-08-20 12:01:23 +02:00
import tree-wide: say "ratelimit" not "rate_limit" 2019-09-20 16:05:53 +02:00
initctl
journal basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
journal-remote journal-remote: reduce scope of variable 2019-10-21 21:12:42 +02:00
kernel-install kernel-install: do not require non-empty kernel cmdline 2019-08-27 18:30:49 +02:00
libsystemd basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
libsystemd-network Merge pull request #13142 from yuwata/network-wifi-ssid-support-nl80211 2019-10-23 14:51:23 +02:00
libudev libudev: Update list of possible actions 2019-07-24 05:14:52 +09:00
locale Highlight the synopsis and summary in --help 2019-10-08 18:21:27 +02:00
login Merge pull request #13811 from keszybz/logind-signal-emitting-fix 2019-10-21 17:13:57 -07:00
machine basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
machine-id-setup
modules-load
mount basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
network networkctl: introduce reconfigure method 2019-10-24 14:23:12 +09:00
notify tree-wide: get rid of strappend() 2019-07-12 14:31:12 +09:00
nspawn basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
nss-myhostname
nss-mymachines meson: make nologin path build time configurable 2019-07-18 12:46:35 +02:00
nss-resolve
nss-systemd meson: make nologin path build time configurable 2019-07-18 12:46:35 +02:00
partition growfs: call crypt_set_debug_level() correctly, skip if not needed 2019-07-08 16:04:17 +03:00
path
portable basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
pstore pstore: rework memory handling for dmesg 2019-10-04 16:21:32 +02:00
quotacheck
random-seed random-seed: rework systemd-random-seed.service substantially 2019-07-25 18:30:06 +02:00
rc-local-generator
remount-fs
reply-password Remove string_free_erase 2019-07-10 13:48:55 +02:00
resolve resolved: fix connection failures with TLS 1.3 and GnuTLS 2019-10-21 20:35:05 +02:00
rfkill util-lib: move shall_restore_state() to shared/reboot-util 2019-09-16 18:08:01 +02:00
run run: add -u as a synonym for --unit 2019-10-23 22:06:32 +09:00
run-generator
shared basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
shutdown util-lib: move some functions from basic/cgroup-util to shared/cgroup-setup 2019-09-16 18:08:00 +02:00
sleep systemd-sleep: refuse to calculate swapfile offset on Btrfs 2019-06-26 22:04:59 -07:00
socket-proxy
stdio-bridge
sulogin-shell
sysctl sysctl: if options are prefixed with "-" ignore write errors 2019-07-26 09:24:47 +02:00
system-update-generator util-lib: move runlevel_to_target() to shared/unit-file 2019-09-16 18:08:00 +02:00
systemctl basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
systemd Merge pull request #13142 from yuwata/network-wifi-ssid-support-nl80211 2019-10-23 14:51:23 +02:00
sysusers Revert "sysusers: properly mark generated accounts as locked" 2019-10-22 17:59:11 +09:00
sysv-generator tree-wide: get rid of strappend() 2019-07-12 14:31:12 +09:00
test basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
time-wait-sync fs-util: introduce inotify_add_watch_and_warn() helper 2019-10-05 08:08:20 +02:00
timedate Highlight the synopsis and summary in --help 2019-10-08 18:21:27 +02:00
timesync Updated log message when the timesync happens for the first time (#13624) 2019-09-26 00:02:46 +09:00
tmpfiles basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
tty-ask-password-agent tty-ask-password: fix dead code path 2019-10-21 21:12:42 +02:00
udev basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
update-done
update-utmp update-utmp: remove dead conditional 2019-10-21 21:12:42 +02:00
user-sessions
vconsole vconsole-setup: rename toggle_utf8() → toggle_utf8_vc() 2019-07-18 16:21:02 +02:00
veritysetup tree-wide: replace strjoin() with path_join() 2019-06-24 23:59:38 +09:00
version
volatile-root basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00