]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-systemcallfilter-with-errno-name.service
tests: add spdx license header to test unit/link/network/conf files
[thirdparty/systemd.git] / test / test-execute / exec-systemcallfilter-with-errno-name.service
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 [Unit]
3 Description=Test for SystemCallFilter with errno name
4
5 [Service]
6 ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
7 Type=oneshot
8 SystemCallFilter=~uname:EILSEQ
9 SystemCallErrorNumber=EACCES