summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-systemcallerrornumber-name.service
blob: e167d2716ba888593412b9efe3125c83ae80b948 (plain)
1
2
3
4
5
6
7
8
[Unit]
Description=Test for SystemCallErrorNumber

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