summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-systemcallfilter-system-user.service
blob: 005c4ac1c82927abd39fdffbe78e52d448319503 (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 (daemon)

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