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

[Service]
ExecStart=/bin/sh -x -c 'c=$$(capsh --print | grep "Bounding set "); test "$$c" = "Bounding set =cap_fowner,cap_kill"'
Type=oneshot
CapabilityBoundingSet=CAP_FOWNER CAP_KILL