Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibCore: Add convenience templates for System::{unveil,pledge}
These convenience templates allow the following to be written as before: TRY(Core::System::pledge("promises...")); TRY(Core::System::pledge("promises...", "execpromises...")); TRY(Core::System::unveil("path", "permissions")); TRY(Core::System::unveil(nullptr, nullptr)); Other uses must now append sv to any literal string passed to pledge and unveil.
- Loading branch information