b4891260 YW |
1 | [Unit] |
2 | Description=Test for SystemCallFilter with errno name |
3 | |
4 | [Service] |
7f749487 |
5 | ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)' |
b4891260 YW |
6 | Type=oneshot |
7 | SystemCallFilter=~uname:EILSEQ |
8 | SystemCallErrorNumber=EACCES |