summaryrefslogtreecommitdiff
path: root/test/exec-capabilityboundingset-reset.service
blob: 51092ab0d5e5f4a2e79fe9719148f46492afb1e5 (plain)
1
2
3
4
5
6
7
[Unit]
Description=Test for CapabilityBoundingSet

[Service]
ExecStart=/bin/sh -c 'c=$(capsh --print | grep "Bounding set " | cut -f 2 -d "="); echo $c; exit $(test -z $c)'
CapabilityBoundingSet=CAP_FOWNER CAP_KILL
CapabilityBoundingSet=