mirror of
https://github.com/systemd/systemd.git
synced 2025-03-09 12:58:26 +03:00
9 lines
237 B
SYSTEMD
9 lines
237 B
SYSTEMD
|
[Unit]
|
||
|
Description=Test for SystemCallFilter with errno number
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
|
||
|
Type=oneshot
|
||
|
SystemCallFilter=~uname:255
|
||
|
SystemCallErrorNumber=EACCES
|