summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-systemcallfilter-system-user-nobody.service
blob: 0c2ebdd83e613c7342c376435ba10ea06ba94e78 (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=sh -c 'echo "Foo bar"'
Type=oneshot
User=nobody
SystemCallFilter=~read write open execve ioperm
SystemCallFilter=ioctl
SystemCallFilter=read write open execve
SystemCallFilter=~ioperm