HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

test/test-execute/exec-capabilityboundingset-simple.service

Git blob: 9c149264d3f474a56d56c72ce0f264aee5e99e87

Lines 1–9 of 9

# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for CapabilityBoundingSet
 
[Service]
ExecStart=bash -x -c 'c=$$(capsh --print | grep "Bounding set "); test "$$c" = "Bounding set =cap_fowner,cap_kill"'
Type=oneshot
CapabilityBoundingSet=CAP_FOWNER CAP_KILL