Skip to content

Commit

Permalink
[systemd] Sandbox the udhcpd service. JB#37897 JB#44449
Browse files Browse the repository at this point in the history
  • Loading branch information
mlehtima committed Feb 5, 2020
1 parent a30fbde commit 708755d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rpm/udhcpd.service
Expand Up @@ -6,3 +6,9 @@ Conflicts=shutdown.target

[Service]
ExecStart=/usr/sbin/udhcpd -f
# Sandboxing
CapabilityBoundingSet=CAP_DAC_READ_SEARCH CAP_NET_BIND_SERVICE CAP_NET_RAW
PrivateDevices=yes
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=full

0 comments on commit 708755d

Please sign in to comment.