]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-systemcallfilter-with-errno-name.service
tmpfiles: make truncate_file() safe
[thirdparty/systemd.git] / test / test-execute / exec-systemcallfilter-with-errno-name.service
1 [Unit]
2 Description=Test for SystemCallFilter with errno name
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=~uname:EILSEQ
8 SystemCallErrorNumber=EACCES