summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-protectkernelmodules-no-capabilities.service
blob: b2f2cd6b8ab0fcf23ec0ba87972104c7759c950d (plain)
1
2
3
4
5
6
7
[Unit]
Description=Test CAP_SYS_MODULE ProtectKernelModules=no

[Service]
ProtectKernelModules=no
ExecStart=/bin/sh -x -c 'capsh --print | grep cap_sys_module'
Type=oneshot