Systemd/src/udev
Zbigniew Jędrzejewski-Szmek cc5549ca12 scripts: use 4 space indentation
We had all kinds of indentation: 2 sp, 3 sp, 4 sp, 8 sp, and mixed.
4 sp was the most common, in particular the majority of scripts under test/
used that. Let's standarize on 4 sp, because many commandlines are long and
there's a lot of nesting, and with 8sp indentation less stuff fits. 4 sp
also seems to be the default indentation, so this will make it less likely
that people will mess up if they don't load the editor config. (I think people
often use vi, and vi has no support to load project-wide configuration
automatically. We distribute a .vimrc file, but it is not loaded by default,
and even the instructions in it seem to discourage its use for security
reasons.)

Also remove the few vim config lines that were left. We should either have them
on all files, or none.

Also remove some strange stuff like '#!/bin/env bash', yikes.
2019-04-12 08:30:31 +02:00
..
ata_id util: split out memcmp()/memset() related calls into memory-util.[ch] 2019-03-13 12:16:43 +01:00
cdrom_id tree-wide: constify a few static string tables 2019-03-25 14:04:34 +01:00
mtd_probe coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
net tree-wide: drop several missing_*.h and import relevant headers from kernel-5.0 2019-04-11 19:00:37 +02:00
scsi_id util: split out memcmp()/memset() related calls into memory-util.[ch] 2019-03-13 12:16:43 +01:00
v4l_id v4l_id: use device_caps if available 2019-02-15 12:14:05 +01:00
.vimrc import udev repository 2012-04-03 21:08:04 +02:00
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 meson: declare version.h as dep for various targets that include build.h 2019-02-25 10:41:41 +01:00
udev-builtin-blkid.c udev: use SYNTHETIC_ERRNO() macro in log_device_*_errno() 2019-01-13 17:50:47 +09:00
udev-builtin-btrfs.c tree-wide: drop several missing_*.h and import relevant headers from kernel-5.0 2019-04-11 19:00:37 +02:00
udev-builtin-hwdb.c udev: use ENODATA when 'No entry found from hwdb' 2019-01-13 18:04:10 +09:00
udev-builtin-input_id.c Remove 'inline' attributes from static functions in .c files (#11426) 2019-01-15 08:12:28 +01:00
udev-builtin-keyboard.c Remove 'inline' attributes from static functions in .c files (#11426) 2019-01-15 08:12:28 +01:00
udev-builtin-kmod.c coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
udev-builtin-net_id.c udev: move naming-scheme bits into their own file 2019-01-17 13:56:02 +01:00
udev-builtin-net_setup_link.c udev: use SYNTHETIC_ERRNO() macro in log_device_*_errno() 2019-01-13 17:50:47 +09:00
udev-builtin-path_id.c Delete duplicate lines 2019-01-12 16:02:26 +01:00
udev-builtin-uaccess.c udev: use right error variable to make level decision 2018-10-24 20:47:52 +02:00
udev-builtin-usb_id.c udev-builtin-usb_id: guard against overflow when reading descriptor data 2019-02-28 11:57:51 +01:00
udev-builtin.c tree-wide: constify a few static string tables 2019-03-25 14:04:34 +01:00
udev-builtin.h udev-builtin: modernize code a bit 2018-10-23 18:28:38 +09:00
udev-ctrl.c tree-wide: port users over to use new ERRNO_IS_ACCEPT_AGAIN() call 2019-04-10 22:11:18 +02: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 udevd: use device_get_action() and device_get_seqnum() 2019-03-12 03:49:53 +09:00
udev-node.c udev: run programs in the specified order 2019-03-05 09:27:29 +01:00
udev-node.h udev: run programs in the specified order 2019-03-05 09:27:29 +01:00
udev-rules.c udev: use strempty() where appropriate 2019-04-02 14:54:42 +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.h udev: run programs in the specified order 2019-03-05 09:27:29 +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 udev-ctrl: split out logic of waiting for reply to udev_ctrl_wait() 2019-02-20 06:17:42 +09:00
udevadm-hwdb.c coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
udevadm-info.c udevadm: drop unused option 2019-04-04 12:55:06 +09: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 coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
udevadm-test.c udevadm-test: check action string earlier 2019-03-12 03:49:53 +09:00
udevadm-trigger.c udev: fix memleak in 'udevadm trigger --settle' 2019-03-12 09:15:02 +01: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 udev: move udev_ctrl_cleanup() into manager_free() 2019-04-01 15:20:03 +02:00