Systemd/src/udev
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
..
ata_id udev: do not hardcode program name 2019-10-11 14:45:02 +02:00
cdrom_id udev/cdrom_id: Do not open CD-rom in exclusive mode. 2019-10-24 00:09:18 +02:00
fido_id udev/fido_id: fix program name in usage output 2019-10-11 14:44:53 +02:00
mtd_probe coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
net network: add support matching based on BSSID= 2019-10-15 01:59:56 +09:00
scsi_id tree-wide: some more [static] related fixes 2019-07-12 16:40:10 +02:00
v4l_id tree-wide: replace explicit NULL checks with their shorter variants 2019-04-28 14:28:49 +02:00
.vimrc
generate-keyboard-keys-gperf.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
generate-keyboard-keys-list.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
meson.build udev: Add id program and rule for FIDO security tokens 2019-09-07 02:23:58 +09:00
udev-builtin-blkid.c util-lib: split shared/efivars into basic/efivars and shared/efi-loader 2019-09-16 18:08:53 +02:00
udev-builtin-btrfs.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-hwdb.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-input_id.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-keyboard.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-kmod.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-net_id.c basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
udev-builtin-net_setup_link.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-path_id.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-uaccess.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-usb_id.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin.h udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-ctrl.c udevadm: use usec_add() 2019-09-18 01:29:49 +09:00
udev-ctrl.h udev-ctrl: split out logic of waiting for reply to udev_ctrl_wait() 2019-02-20 06:17:42 +09:00
udev-event.c udev-event: log device name on spawning commands 2019-08-03 05:38:27 +09:00
udev-event.h udev-rules: add precise information to rule failure logs 2019-06-28 16:20:48 +02:00
udev-node.c udev-node: fix misleading log messages 2019-08-03 06:04:40 +09:00
udev-node.h udev: run programs in the specified order 2019-03-05 09:27:29 +01:00
udev-rules.c udev: introduce CONST key name 2019-10-14 22:01:11 +09:00
udev-rules.h udev: move rule structure definitions into the .c file 2019-06-28 16:20:48 +02:00
udev-watch.c coccinelle: also mark previous synthetic errnos as such 2018-11-22 10:54:38 +01:00
udev-watch.h udev-watch: replace udev_device by sd_device and modernize code a bit 2018-10-11 04:21:14 +09:00
udev.conf udev: also allow resolve_names= to be specified in udev.conf 2018-11-13 14:35:36 +01:00
udev.pc.in meson: define PROJECT_VERSION as the "bare" project version 2018-12-20 21:35:29 +01:00
udevadm-control.c udevadm: drop pointless must_be_root() checks 2019-05-08 11:51:51 +02:00
udevadm-hwdb.c coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
udevadm-info.c udevadm: ensure 'udevadm info -w' show updated result 2019-07-11 17:39:36 +02:00
udevadm-monitor.c headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
udevadm-settle.c systemd-udev-settle.service: emit deprecation notice 2019-04-10 15:58:14 +02:00
udevadm-test-builtin.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udevadm-test.c udevadm: support special value 'help' for --action option 2019-06-29 04:10:14 +09:00
udevadm-trigger.c udevadm trigger: do not propagate EACCES and ENODEV 2019-10-02 14:23:44 +02:00
udevadm-util.c udevadm: allow a .device unit to be specified for query and trigger 2018-12-11 09:24:31 +01:00
udevadm-util.h udevadm-info,trigger: replace udev_device by sd_device 2018-10-17 03:31:20 +09:00
udevadm.c tree-wide: constify a few static string tables 2019-03-25 14:04:34 +01:00
udevadm.h udevadm: add a workaround for dracut 2019-01-02 10:26:16 +01:00
udevd.c udevd: add helper with error handling to synthesize "change" events 2019-07-12 00:17:47 +02:00