Support of OpenBSD pledge(2) in programming languages(gist.github.com)
gist.github.com
Support of OpenBSD pledge(2) in programming languages
https://gist.github.com/ligurio/f6114bd1df371047dd80ea9b8a55c104
https://gist.github.com/ligurio/f6114bd1df371047dd80ea9b8a55c104
The github link for Python seems to be a high-level wrapping of the entire Python environment itself. I was wondering if there is a way to surface pledge in an environment such as Python so that a developer could drop privileges, for example, open files for writing and then drop the privilege to open any further files.