Systemd/src/udev
Zbigniew Jędrzejewski-Szmek d94a24ca2e Add macro for checking if some flags are set
This way we don't need to repeat the argument twice.
I didn't replace all instances. I think it's better to leave out:
- asserts
- comparisons like x & y == x, which are mathematically equivalent, but
  here we aren't checking if flags are set, but if the argument fits in the
  flags.
2018-06-04 11:50:44 +02:00
..
ata_id tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
cdrom_id tree-wide: use "cannot" instead of "can not" 2018-02-08 10:34:52 +01:00
collect basic/macros: rename noreturn into _noreturn_ (#8456) 2018-03-15 14:23:46 +09:00
mtd_probe mtd: some basic code cleanups 2018-05-10 11:02:33 -07:00
net network,udev: sort included headers 2018-05-09 12:00:27 +09:00
scsi_id tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
v4l_id v4l_id: check mplane video capture and output capailities (#8464) 2018-03-20 09:54:18 +01:00
.vimrc import udev repository 2012-04-03 21:08:04 +02:00
generate-keyboard-keys-gperf.sh separate flags from shebang 2017-12-25 19:48:49 +01:00
generate-keyboard-keys-list.sh separate flags from shebang 2017-12-25 19:48:49 +01:00
meson.build meson: recompile all sources for install_libudev_static and install_libsystemd_static 2018-05-08 17:33:04 +02:00
udev-builtin-blkid.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
udev-builtin-btrfs.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
udev-builtin-hwdb.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
udev-builtin-input_id.c Add macro for checking if some flags are set 2018-06-04 11:50:44 +02:00
udev-builtin-keyboard.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
udev-builtin-kmod.c Add SPDX license identifiers to source files under the GPL 2017-11-19 19:08:15 +01:00
udev-builtin-net_id.c udev: do not mark ari_enabled true when its sysattr value is 0 (#8870) 2018-05-02 16:21:30 +02:00
udev-builtin-net_setup_link.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
udev-builtin-path_id.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
udev-builtin-uaccess.c Add SPDX license identifiers to source files under the GPL 2017-11-19 19:08:15 +01:00
udev-builtin-usb_id.c Add SPDX license identifiers to source files under the GPL 2017-11-19 19:08:15 +01:00
udev-builtin.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
udev-ctrl.c Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
udev-event.c process-util: add another fork_safe() flag for enabling LOG_ERR/LOG_WARN logging 2018-01-04 13:27:26 +01:00
udev-node.c label: rework label_fix() implementations (#8583) 2018-03-27 07:38:26 +02:00
udev-rules.c coccinelle: similar to reallocarray() let's also systematically use malloc_multiply() 2018-03-02 12:39:07 +01:00
udev-watch.c Add some handling to remaining unlinkat calls 2018-02-19 15:00:00 +01:00
udev.conf Add note to udev.conf that changes to that file require a rebuild of the initramfs 2018-02-27 18:56:19 -03:00
udev.h Add SPDX license identifiers to source files under the GPL 2017-11-19 19:08:15 +01:00
udev.pc.in tree-wide: standardize on $(PACKAGE_VERSION) for the version string 2017-04-04 20:36:09 -04:00
udevadm-control.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
udevadm-hwdb.c udevadm: fix null dererefence on allocation error 2018-05-10 01:49:01 +02:00
udevadm-info.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
udevadm-monitor.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
udevadm-settle.c udevadm: getopt() and help message cleanup 2017-12-05 23:30:10 +09:00
udevadm-test-builtin.c udevadm: getopt() and help message cleanup 2017-12-05 23:30:10 +09:00
udevadm-test.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
udevadm-trigger.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
udevadm-util.c Add SPDX license identifiers to source files under the GPL 2017-11-19 19:08:15 +01:00
udevadm-util.h udevadm: getopt() and help message cleanup 2017-12-05 23:30:10 +09:00
udevadm.c Add SPDX license identifiers to source files under the GPL 2017-11-19 19:08:15 +01:00
udevd.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00