1# SPDX-License-Identifier: LGPL-2.1-or-later
2[Unit]
3Description=Test for SystemCallFilter with errno number
4
5[Service]
6ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
7Type=oneshot
8SystemCallFilter=~uname:255
9SystemCallErrorNumber=EACCES
10