Skip to content

Commit

Permalink
Merge branch 'sandbox' into 'master'
Browse files Browse the repository at this point in the history
[systemd] Sandbox the udhcpd service. JB#37897 JB#44449

See merge request mer-core/busybox!11
  • Loading branch information
mlehtima committed Feb 6, 2020
2 parents a30fbde + 708755d commit 62acbd5
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 62acbd5

Please sign in to comment.