HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

test/test-execute/exec-systemcallfilter-override-error-action2.service

Git blob: e049275604daf5cd94f589ec11e818d48f6f3649

Lines 1–10 of 10

# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter with specific errno action overriding default kill action
 
[Service]
ExecStart=python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
Type=oneshot
SystemCallFilter=~uname:EILSEQ
SystemCallErrorNumber=kill