Systemd/test/test-execute/exec-systemcallfilter-with-errno-number.service

9 lines
241 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Test for SystemCallFilter with errno number
[Service]
ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
Type=oneshot
SystemCallFilter=~uname:255
SystemCallErrorNumber=EACCES