about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorYuce Tekol <yucetekol@gmail.com>2019-05-05 08:32:05 +0300
committerYuce Tekol <yucetekol@gmail.com>2019-05-05 08:32:05 +0300
commit76404999955ee8e98e851fcbc0ce22866291dbc4 (patch)
tree2ddac83d692cc37dac8e856f026b41d835b9d01b
parentaefef1875c0d367e720c4b68919210bb34d755bc (diff)
downloadpyopenbsd-76404999955ee8e98e851fcbc0ce22866291dbc4.tar.gz
restrict update
-rw-r--r--examples/restrict.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/restrict.py b/examples/restrict.py
index 5fb002b..f11cc35 100644
--- a/examples/restrict.py
+++ b/examples/restrict.py
@@ -9,6 +9,7 @@ from openbsd import pledge, unveil
 """
 A little utilty that pledges and unveils.
 python3 restrict.py rpath stdio /tmp/foo:r /bin/cat:x  -x cat /tmp/foo
+python3 restrict.py stdio rpath getpw tty /:r /bin/ls:x -x ls /usr
 """
 
 def extract_args(args):