Go to file
2023-03-21 06:49:24 -06:00
go.mod Add initial bits for landlock. 2023-03-21 06:49:24 -06:00
go.sum Add initial bits for landlock. 2023-03-21 06:49:24 -06:00
LICENSE intial 2020-05-08 07:36:29 -06:00
protect_linux_ro_dir_test.go Add initial bits for landlock. 2023-03-21 06:49:24 -06:00
protect_linux.go Add initial bits for landlock. 2023-03-21 06:49:24 -06:00
protect_openbsd.go fmt 2023-01-14 06:16:00 -07:00
protect_stubs.go Add initial bits for landlock. 2023-03-21 06:49:24 -06:00
protect_test.go Add UnveilSet 2021-09-21 16:30:41 -06:00
protect.go Add initial bits for landlock. 2023-03-21 06:49:24 -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.