blob: dbb9540a1e9413d146627e690a9e08951f2f436c [file] [log] [blame] [raw]
[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