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

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