summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-capabilityboundingset-merge.service
blob: d3a23706ee93021b0c6eb061b0bc375513544ec8 (plain)
1
2
3
4
5
6
7
8
9
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for CapabilityBoundingSet

[Service]
ExecStart=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