diff options
author | Yuce Tekol <yucetekol@gmail.com> | 2019-05-05 08:32:07 +0300 |
---|---|---|
committer | Yuce Tekol <yucetekol@gmail.com> | 2019-05-05 08:32:07 +0300 |
commit | 255eb665172640f2315ca7e18d64c95927c6620a (patch) | |
tree | 834779f258c560ad030ac4d04fad2b989ef49b0b | |
parent | 76404999955ee8e98e851fcbc0ce22866291dbc4 (diff) | |
parent | 9d214c788740b8c5042a186a390fc72c78c012d0 (diff) | |
download | pyopenbsd-255eb665172640f2315ca7e18d64c95927c6620a.tar.gz |
Merge branch 'master' of gitea.cs:yuce/pyopenbsd
-rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md index b8b12a2..d178c33 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # openbsd Python bindings for some OpenBSD-specific APIs. Currently the following are supported: + * `pledge` * `unveil` @@ -35,7 +36,7 @@ openbsd.pledge("stdio rpath") print(open("/etc/resolv.conf")) ``` -Try removing `rpath` permission. +Try removing the`rpath permission. ### unveil @@ -48,6 +49,11 @@ Try opening `/bin/ksh`. Use `openbsd.unveil()` to lock down restrictions. + +## Similar Projects + +* [PyPledge](https://gitlab.com/i80and/pypledge): Python binding for the OpenBSD pledge(2) system call. Uses ctypes. + ## License (c) 2019 Yuce Tekol |