2017-11-11 13:39:02 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Test for SystemCallFilter with errno number
|
|
|
|
|
|
|
|
[Service]
|
2017-11-12 16:09:00 +01:00
|
|
|
ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
|
2017-11-11 13:39:02 +01:00
|
|
|
Type=oneshot
|
|
|
|
SystemCallFilter=~uname:255
|
|
|
|
SystemCallErrorNumber=EACCES
|