mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-08 14:36: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
|
Type=dbus
|
||||||
BusName=org.freedesktop.fwupd
|
BusName=org.freedesktop.fwupd
|
||||||
ExecStart=@servicedir@/fwupd/fwupd
|
ExecStart=@servicedir@/fwupd/fwupd
|
||||||
|
MemoryDenyWriteExecute=yes
|
||||||
|
NoNewPrivileges=yes
|
||||||
PrivateTmp=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