]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev: refuse to modify SEQNUM by udev rules
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 9 Mar 2019 01:09:40 +0000 (10:09 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 11 Mar 2019 18:49:53 +0000 (03:49 +0900)
src/udev/udev-rules.c

index b27b212a99a342718702b00d23db72a870556875..835ce17165a334ff1447a2fd25f225d75d873b70 100644 (file)
@@ -1156,6 +1156,7 @@ static void add_rule(UdevRules *rules, char *line,
                         else {
                                 if (STR_IN_SET(attr,
                                                "ACTION",
+                                               "SEQNUM",
                                                "SUBSYSTEM",
                                                "DEVTYPE",
                                                "MAJOR",