summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-systemcallfilter-system-user-nfsnobody.service
blob: deba1543b44883394a9f81de3f06a75c4809408a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter in system mode with User set

[Service]
ExecStart=/bin/sh -c 'echo "Foo bar"'
Type=oneshot
User=nfsnobody
SystemCallFilter=~read write open execve ioperm
SystemCallFilter=ioctl
SystemCallFilter=read write open execve
SystemCallFilter=~ioperm