Debian Codegraph @

test/testdata/test-execute/exec-systemcallfilter-with-errno-in-allow-list.service

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