]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-udevd.service.in
Merge pull request #11922 from poettering/hostname-protect-fix
[thirdparty/systemd.git] / units / systemd-udevd.service.in
index 2b9fa69d9b1f530abef7115d4673c78950cc0e18..fb98ca4d43a2094484e2adafb7cca638fa85ec7c 100644 (file)
@@ -26,9 +26,12 @@ KillMode=mixed
 WatchdogSec=3min
 TasksMax=infinity
 PrivateMounts=yes
+ProtectHostname=yes
 MemoryDenyWriteExecute=yes
 RestrictRealtime=yes
 RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
+SystemCallFilter=@system-service @module @raw-io
+SystemCallErrorNumber=EPERM
 SystemCallArchitectures=native
 LockPersonality=yes
 IPAddressDeny=any