mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
ac40081621
To avoid polluting test/
8 lines
278 B
Desktop File
8 lines
278 B
Desktop File
[Unit]
|
|
Description=Test for CapabilityBoundingSet
|
|
|
|
[Service]
|
|
ExecStart=/bin/sh -c 'c=$(capsh --print | grep "Bounding set " | cut -f 2 -d "="); echo $c; exit $(test $c = "cap_chown,cap_fowner,cap_kill")'
|
|
CapabilityBoundingSet=CAP_FOWNER
|
|
CapabilityBoundingSet=CAP_KILL CAP_CHOWN
|