]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/exec-capabilityboundingset-invert.service
test: add tests to ensure that the capabilities are properly set
[thirdparty/systemd.git] / test / exec-capabilityboundingset-invert.service
1 [Unit]
2 Description=Test for CapabilityBoundingSet
3
4 [Service]
5 ExecStart=/bin/sh -c 'c=$(capsh --print | grep "Bounding set " | grep "cap_chown"); echo $c; exit $(test -z $c)'
6 CapabilityBoundingSet=~CAP_CHOWN