summaryrefslogtreecommitdiffstats
path: root/core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd.service
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd.service')
-rw-r--r--core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd.service14
1 files changed, 11 insertions, 3 deletions
diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd.service
index 2c33ce53..17534c34 100644
--- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd.service
+++ b/core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd.service
@@ -10,9 +10,9 @@ Description=udev Kernel Device Manager
Documentation=man:systemd-udevd.service(8) man:udev(7)
DefaultDependencies=no
Wants=systemd-udevd-control.socket systemd-udevd-kernel.socket
-After=systemd-udevd-control.socket systemd-udevd-kernel.socket
-Before=sysinit.target
-ConditionCapability=CAP_MKNOD
+After=systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-sysusers.service
+Before=sysinit.target
+ConditionPathIsReadWrite=/sys
[Service]
Type=notify
@@ -21,3 +21,11 @@ Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket
Restart=always
RestartSec=0
ExecStart=/usr/lib/systemd/systemd-udevd
+KillMode=mixed
+WatchdogSec=3min
+TasksMax=infinity
+MountFlags=slave
+MemoryDenyWriteExecute=yes
+RestrictRealtime=yes
+RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
+SystemCallArchitectures=native