summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-capabilityboundingset-merge.service
blob: b0f4732529ce72e71243164db3e0502f851668d7 (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 $c = "cap_chown,cap_fowner,cap_kill")'
CapabilityBoundingSet=CAP_FOWNER
CapabilityBoundingSet=CAP_KILL CAP_CHOWN