]>
Commit | Line | Data |
---|---|---|
22d3cfe5 | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
3ae33295 DH |
2 | [Unit] |
3 | Description=Test CAP_SYS_MODULE ProtectKernelModules=no | |
4 | ||
5 | [Service] | |
6 | ProtectKernelModules=no | |
e9cdcbed FS |
7 | # sed: remove dropped (cap_xxx-[epi]) and IAB capabilities from the output |
8 | ExecStart=/bin/sh -x -c 'capsh --print | sed -re "s/[^ ]+?\-[epi]+//g" -e '/IAB/d' | grep cap_sys_module' | |
3ae33295 | 9 | Type=oneshot |