[Unit] | |
Description=Test for SystemCallFilter with specific kill action overriding default errno action | |
[Service] | |
ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)' | |
Type=oneshot | |
SystemCallFilter=~uname:kill | |
SystemCallErrorNumber=EILSEQ |