summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-systemcallfilter-override-error-action2.service
blob: 04bfd6bfcbd5c0f2859008d8cd32acf4c8d4f9d9 (plain)
1
2
3
4
5
6
7
8
[Unit]
Description=Test for SystemCallFilter with specific errno action overriding default kill action

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