blob: 84bf39be56928b0fba273962a5a03518018c1366 (
plain)
1
2
3
4
5
6
7
|
[Unit]
Description=Test CAP_SYS_MODULE for ProtectKernelModules=yes
[Service]
ProtectKernelModules=yes
ExecStart=/bin/sh -x -c '! capsh --print | grep cap_sys_module'
Type=oneshot
|