Go to file
2022-12-09 11:37:04 -07:00
go.mod Update to tag'd x/sys 2022-12-09 11:37:04 -07:00
go.sum Update to tag'd x/sys 2022-12-09 11:37:04 -07:00
LICENSE intial 2020-05-08 07:36:29 -06:00
protect_openbsd.go add returns 2020-05-10 07:04:34 -06:00
protect_stubs.go add returns 2020-05-10 07:04:34 -06:00
protect_test.go Add UnveilSet 2021-09-21 16:30:41 -06:00
protect.go Add UnveilSet 2021-09-21 16:30:41 -06:00
README.md +readme 2020-05-08 16:44:54 -06:00

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.