summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-privatedevices-yes-capability-mknod.service
blob: fb1fc2875a329fda02391b5dbc9bd22292deaea7 (plain)
1
2
3
4
5
6
7
[Unit]
Description=Test CAP_MKNOD capability for PrivateDevices=yes

[Service]
PrivateDevices=yes
ExecStart=/bin/sh -x -c '! capsh --print | grep cap_mknod'
Type=oneshot