Drop seccomp system call filter for udev
authorMichael Biebl <biebl@debian.org>
Wed, 18 Jul 2018 21:49:16 +0000 (23:49 +0200)
committerMichael Biebl <biebl@debian.org>
Mon, 3 Aug 2020 07:46:27 +0000 (08:46 +0100)
The seccomp based system call whitelist requires at least systemd 239 to
be the active init and during a dist-upgrade we can't guarantee that
systemd has been fully configured before udev is restarted.

This partially reverts upstream commit
ee8f26180d01e3ddd4e5f20b03b81e5e737657ae.

Once buster is released, this patch can be dropped.

Closes: #903224
Gbp-Pq: Topic debian
Gbp-Pq: Name Drop-seccomp-system-call-filter-for-udev.patch

units/systemd-udevd.service.in

index 9ada3a6a7418c7a5ab3338896d150a9514afd789..f395e832be3e78e156481ae51f4a3c201d6639b9 100644 (file)
@@ -35,8 +35,6 @@ MemoryDenyWriteExecute=yes
 RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
 RestrictRealtime=yes
 RestrictSUIDSGID=yes
-SystemCallFilter=@system-service @module @raw-io
-SystemCallErrorNumber=EPERM
 SystemCallArchitectures=native
 LockPersonality=yes
 IPAddressDeny=any