HALF ECHO LEARN / REFERENCE COLLECTION
v262.2test/test-execute/exec-systemcallfilter-with-errno-name.service
Git blob: bed79610bef5845a7dca826168b6464c7f94302f
Lines 1–10 of 10
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter with errno name
[Service]
ExecStart=python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
Type=oneshot
SystemCallFilter=~uname:EILSEQ
SystemCallErrorNumber=EACCES