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