Systemd/src
Lennart Poettering aae22eb3a3 dissect: tighten block device checks a bit
This extends on #8609, and makes two changes:

1. We'll now explicitly check that the child devices of a block device
   we are interested in (i.e. the partitions) are block devices themselves.
   On newer kernels the mmc rpmb stuff is actually exposed as char rather
   than block device as before, and they probably should have been that in
   the first place. By adding this check we'll hence filter out these weird
   devices through a second rule too, that hopefully makes things a bit
   more future-proof, should more devices like this be added eventually,
   or other subsystems do a similar thing.

2. When counting partitions we'll now also check the devnum of the
   device being non-null, which we already do when matching up the devices
   in the second iteration. This should make things more robust, and
   prevent other kinds of miscounting, which after all was the main
   issue #8609 fixed.
2018-04-05 13:03:37 +02:00
..
ac-power ac-power: add simple getopt() argument parsing to systemd-ac-power (#8516) 2018-03-21 12:52:18 +01:00
activate tree-wide: port various places over to use new rearrange_stdio() 2018-03-02 11:42:10 +01:00
analyze tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
ask-password Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
backlight backlight: use current brightness if no saved value to trigger clamping (#8526) 2018-03-28 13:32:27 +02:00
basic Merge pull request #8617 from keszybz/tmpfiles-relax 2018-04-05 11:54:02 +02:00
binfmt Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
boot boot: also use _cleanup_freepool_ in util.c 2018-03-13 11:42:02 +01:00
busctl tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
cgls tree-wide: voidify pager_open() 2018-03-19 21:04:02 +09:00
cgroups-agent Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
cgtop Merge pull request #8149 from poettering/fake-root-cgroup 2018-03-01 11:10:24 +01:00
core core/device: trivial simplification 2018-04-05 14:26:34 +09:00
coredump tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
cryptsetup macro: introduce TAKE_PTR() macro 2018-03-22 20:21:42 +01:00
debug-generator When mangling names, optionally emit a warning (#8400) 2018-03-21 15:26:47 +01:00
delta fs-util: add new CHASE_TRAIL_SLASH flag for chase_symlinks() 2018-03-22 19:54:24 +01:00
detect-virt Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
dissect dissect: add dissect_image_and_warn() that unifies error message generation for dissect_image() (#8517) 2018-03-21 12:10:01 +01:00
environment-d-generator macro: introduce TAKE_PTR() macro 2018-03-22 20:21:42 +01:00
escape When mangling names, optionally emit a warning (#8400) 2018-03-21 15:26:47 +01:00
firstboot macro: introduce TAKE_PTR() macro 2018-03-22 20:21:42 +01:00
fsck tree-wide: make use of wait_for_terminate_and_check() at various places 2018-01-04 13:27:27 +01:00
fstab-generator When mangling names, optionally emit a warning (#8400) 2018-03-21 15:26:47 +01:00
fuzz fuzz-unit-file: add __has_feature(memory_sanitizer) when skipping ListenNetlink= 2018-03-26 15:28:03 +02:00
getty-generator log: remove LOG_TARGET_SAFE pseudo log target 2018-01-24 18:22:56 +01:00
gpt-auto-generator log: remove LOG_TARGET_SAFE pseudo log target 2018-01-24 18:22:56 +01:00
hibernate-resume log: remove LOG_TARGET_SAFE pseudo log target 2018-01-24 18:22:56 +01:00
hostname tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
hwdb Merge pull request #8576 from keszybz/oss-fuzz 2018-03-27 20:30:02 +03:00
import tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
initctl log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
journal tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
journal-remote tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
kernel-install kernel-install: Don't install BLS kernel images if dest dir doesn't exist (#8306) 2018-02-28 10:25:19 +01:00
libsystemd tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
libsystemd-network tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
libudev tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
locale tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
login tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
machine tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
machine-id-setup Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
modules-load Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
mount macro: introduce TAKE_PTR() macro 2018-03-22 20:21:42 +01:00
network tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
notify notify: add new --uid= command 2018-01-11 15:12:16 +01:00
nspawn tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
nss-myhostname Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
nss-mymachines nss-mymachines: add work-around to silence gcc warning 2018-02-06 17:08:42 +09:00
nss-resolve resolve: Adjust and unify D-Bus call timeout (#7847) 2018-01-23 09:53:31 +09:00
nss-systemd nss-systemd: make dynamic users enumerable by `getent` 2018-03-21 13:39:03 +09:00
partition log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
path Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
quotacheck process-spec: add another flag FORK_WAIT to safe_fork() 2018-01-04 13:27:27 +01:00
random-seed Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
rc-local-generator log: remove LOG_TARGET_SAFE pseudo log target 2018-01-24 18:22:56 +01:00
remount-fs process-util: add another fork_safe() flag for enabling LOG_ERR/LOG_WARN logging 2018-01-04 13:27:26 +01:00
reply-password Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
resolve tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
rfkill tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
run bus-util: add flags for bus_map_all_properties() (#8546) 2018-03-28 13:37:27 +02:00
shared dissect: tighten block device checks a bit 2018-04-05 13:03:37 +02:00
sleep Rename suspend-to-hibernate to suspend-then-hibernate 2018-03-28 15:11:10 -05:00
socket-proxy Add set/hashmap helpers for non-trivial freeing and use where straighforward 2017-11-28 21:30:30 +01:00
stdio-bridge stdio-bridge: add missing option 2017-12-04 13:11:25 +09:00
sulogin-shell process-util: rework wait_for_terminate_and_warn() to take a flags parameter 2018-01-04 13:27:27 +01:00
sysctl tree-wide: use path_hash_ops instead of string_hash_ops whenever we key by a path 2018-02-12 11:07:55 +01:00
system-update-generator log: remove LOG_TARGET_SAFE pseudo log target 2018-01-24 18:22:56 +01:00
systemctl tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
systemd sd-bus: allow description to be set for system/user busses (#8594) 2018-03-29 16:14:11 +02:00
sysusers tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
sysv-generator tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
test Merge pull request #8605 from poettering/drop-in-name-fix 2018-04-04 11:52:14 +02:00
time-wait-sync time-sync-wait: add service (#8494) 2018-03-21 12:42:04 +01:00
timedate tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
timesync tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
tmpfiles Merge pull request #8617 from keszybz/tmpfiles-relax 2018-04-05 11:54:02 +02:00
tty-ask-password-agent fixed 3 occurences of 'Failed top open' (#8349) 2018-03-04 21:12:45 +09:00
udev tree-wide: use TAKE_PTR() and TAKE_FD() macros 2018-04-05 14:26:26 +09:00
update-done Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
update-utmp Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
user-sessions nologin: extend the /run/nologin descriptions a bit (#8244) 2018-02-22 14:21:30 +01:00
vconsole vconsole: minor modernizations 2018-03-22 20:30:40 +01:00
veritysetup log: remove LOG_TARGET_SAFE pseudo log target 2018-01-24 18:22:56 +01:00
volatile-root Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00