mirror of
https://github.com/systemd/systemd.git
synced 2025-03-25 18:50:18 +03:00
units: add SystemCallErrorNumber=EPERM to systemd-portabled.service
We use that on all other services, and hence should here too. Otherwise the service will be killed with SIGSYS when doing something not whitelisted, which is a bit crass.
This commit is contained in:
parent
24e4b4a199
commit
ba2fb17d8b
@ -22,6 +22,7 @@ ProtectHostname=yes
|
||||
RestrictRealtime=yes
|
||||
RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
|
||||
SystemCallFilter=@system-service @mount
|
||||
SystemCallErrorNumber=EPERM
|
||||
SystemCallArchitectures=native
|
||||
LockPersonality=yes
|
||||
IPAddressDeny=any
|
||||
|
Loading…
x
Reference in New Issue
Block a user