summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-systemcallfilter-with-errno-name.service
blob: 8380d5a15516ba82cb8428a5670ed2488e94cf33 (plain)
1
2
3
4
5
6
7
8
[Unit]
Description=Test for SystemCallFilter with errno name

[Service]
ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
Type=oneshot
SystemCallFilter=~uname:EILSEQ
SystemCallErrorNumber=EACCES