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

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