mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 04:23:33 +00:00
Use more restrictive settings when running under systemd
This commit is contained in:
parent
df3aa3bdc9
commit
99b317d4f7
@ -9,4 +9,14 @@ ConditionPathExists=/var/lib/fwupd/pending.db
|
||||
Type=dbus
|
||||
BusName=org.freedesktop.fwupd
|
||||
ExecStart=@servicedir@/fwupd/fwupd
|
||||
MemoryDenyWriteExecute=yes
|
||||
NoNewPrivileges=yes
|
||||
PrivateTmp=yes
|
||||
PrivateUsers=yes
|
||||
ProtectControlGroups=yes
|
||||
ProtectHome=yes
|
||||
ProtectKernelModules=yes
|
||||
ProtectKernelTunables=yes
|
||||
ProtectSystem=full
|
||||
RestrictAddressFamilies=AF_NETLINK AF_UNIX
|
||||
RestrictRealtime=yes
|
||||
|
Loading…
Reference in New Issue
Block a user