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

9 lines
242 B
SYSTEMD
Raw Normal View History

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