Skip to content

Commit

Permalink
[sensorfw] Sandbox the sensorfwd service. JB#37897 JB#44449
Browse files Browse the repository at this point in the history
  • Loading branch information
mlehtima committed Feb 4, 2020
1 parent 043fb68 commit 2926a49
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rpm/sensorfwd.service
Expand Up @@ -11,6 +11,12 @@ ExecStart=/usr/sbin/sensorfwd -c=/etc/sensorfw/primaryuse.conf --systemd --log-l
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=1
# Sandboxing
CapabilityBoundingSet=CAP_DAC_OVERRIDE CAP_FOWNER
PrivateNetwork=true
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=full

[Install]
WantedBy=graphical.target
Expand Down

0 comments on commit 2926a49

Please sign in to comment.