From 99cd001d4c27c90cd9c0c66f88dc3673bb39ce73 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 12 Nov 2018 19:21:09 +0100 Subject: [PATCH] units: also change portabled's syscall filter to a whitelist --- units/systemd-portabled.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/systemd-portabled.service.in b/units/systemd-portabled.service.in index a868f61dba..a44cdb30a4 100644 --- a/units/systemd-portabled.service.in +++ b/units/systemd-portabled.service.in @@ -20,7 +20,7 @@ CapabilityBoundingSet=CAP_KILL CAP_SYS_PTRACE CAP_SYS_ADMIN CAP_SETGID CAP_SYS_C MemoryDenyWriteExecute=yes RestrictRealtime=yes RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6 -SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @obsolete @raw-io @reboot @swap +SystemCallFilter=@system-service @mount SystemCallArchitectures=native LockPersonality=yes IPAddressDeny=any