summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-capabilityboundingset-simple.service
blob: 3df3e6d9aeb84de297ab31c9e085fb558530009a (plain)
1
2
3
4
5
6
7
8
# 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_fowner,cap_kill"'
Type=oneshot
CapabilityBoundingSet=CAP_FOWNER CAP_KILL