]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-systemcallfilter-with-errno-in-allow-list.service
Merge pull request #18886 from anitazha/shutdownconsole
[thirdparty/systemd.git] / test / test-execute / exec-systemcallfilter-with-errno-in-allow-list.service
1 [Unit]
2 Description=Test for SystemCallFilter with errno name (for issue #18916)
3
4 [Service]
5 ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
6 Type=oneshot
7 SystemCallFilter=@system-service
8 SystemCallFilter=~uname:EILSEQ
9 SystemCallErrorNumber=EACCES