1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00
systemd/test/fuzz/fuzz-udev-rules
janana c1a2ada897 rules: go to the end of rules indeed when dm is suspended
The previous patch 466266c does not make sense indeed, that is to say, if the SYSTEMD_READY is not recorded in the database, the GOTO="systemd_end" will not be applied.

The IMPORT{db} is actually a matching token, it returns false when there is no SYSTEMD_READY recorded in the database.

The previous patch 466266c tended to inherit the state of SYSTEMD_READY from the database and skip to the end of current rule file. But when the database does not contain SYSTEMD_READY, e.g., the dm-* is not set db_persistent during initrd and the database will be cleared after switching root, the following rules will still be applied not as expected.
2023-11-29 09:57:55 +01:00
..
block.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
btrfs.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
cdrom_id.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
drivers.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
drm.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
evdev.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
input-id.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
joystick.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
line-too-long fuzz-udev-rules: -ENOBUFS should be accepted too 2020-06-25 08:51:21 +02:00
mouse.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
net-description.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
net-setup-link.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
oss-fuzz-12980 test: add testcase for oss-fuzz#12980 2019-02-13 04:16:30 +09:00
persistent-alsa.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
persistent-input.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
persistent-storage.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
persistent-v4l.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
probe_mtd.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
sensor.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
serial.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
sound-card.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
storage-tape.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
systemd.rules rules: go to the end of rules indeed when dm is suspended 2023-11-29 09:57:55 +01:00
touchpad.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
udev-default.rules test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00