HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

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

Git blob: 6107d114bec1c65a174aea21878b1161d60d38a4

Lines 1–10 of 10

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