3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

build: Start using CapabilityBoundingSet option from systemd

This commit is contained in:
Marcel Holtmann 2019-09-08 20:26:49 +02:00
parent 0f21157287
commit e6a99f461a
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ BusName=net.connman.iwd
ExecStart=@libexecdir@/iwd
LimitNPROC=1
Restart=on-failure
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
PrivateTmp=true
NoNewPrivileges=true
DevicePolicy=closed

View File

@ -9,6 +9,7 @@ BusName=net.connman.ead
ExecStart=@libexecdir@/ead
LimitNPROC=1
Restart=on-failure
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
PrivateTmp=true
NoNewPrivileges=true
PrivateDevices=true