]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-privatedevices-no-capability-mknod.service
src/basic: rename uid-alloc-range.[ch] to uid-classification.[ch]
[thirdparty/systemd.git] / test / test-execute / exec-privatedevices-no-capability-mknod.service
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 [Unit]
3 Description=Test CAP_MKNOD capability for PrivateDevices=no
4
5 [Service]
6 PrivateDevices=no
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_mknod'
9 Type=oneshot