~qbit/protect

A non-OpenBSD friendly wraper for pledge(2) and unveil(2)
Add UnveilSet
Add ReducePledges for easier reduction of pledges

clone

read-only
https://git.sr.ht/~qbit/protect
read/write
git@git.sr.ht:~qbit/protect

You can also use your local clone with git send-email.

#protect

Package protect is a wrapper for OpenBSD's pledge(2) and unveil(2) system calls.

It allows one to safely call Unveil / Pledge on non-OpenBSD operating systems.