diff options
author | Yuce Tekol <yucetekol@gmail.com> | 2019-05-05 08:54:18 +0300 |
---|---|---|
committer | Yuce Tekol <yucetekol@gmail.com> | 2019-05-05 08:54:18 +0300 |
commit | 7ccf8fc064803d6f940129ee29c75ad86ac96447 (patch) | |
tree | 47d797066fb8f5952a10cfaa4cb745ac3a355bdf | |
parent | 62068009edddfc54c5588f6894233bf8bbfa4f44 (diff) | |
download | pyopenbsd-7ccf8fc064803d6f940129ee29c75ad86ac96447.tar.gz |
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md index d178c33..6633325 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,8 @@ import openbsd ### pledge +See: https://man.openbsd.org/pledge.2 + ```python openbsd.pledge("stdio rpath") print(open("/etc/resolv.conf")) @@ -40,6 +42,8 @@ Try removing the`rpath permission. ### unveil +See: https://man.openbsd.org/unveil.2 + ```python openbsd.unveil("/etc", "r") print(open("/etc/resolv.conf")) |