]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/test-execute/exec-systemcallfilter-with-errno-number.service
tmpfiles: make truncate_file() safe
[thirdparty/systemd.git] / test / test-execute / exec-systemcallfilter-with-errno-number.service
CommitLineData
b4891260
YW
1[Unit]
2Description=Test for SystemCallFilter with errno number
3
4[Service]
7f749487 5ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
b4891260
YW
6Type=oneshot
7SystemCallFilter=~uname:255
8SystemCallErrorNumber=EACCES