LibSystem: Add pledge() and unveil() wrappers that return ErrorOr<void>

These will be more ergonomic to use together with TRY(). :^)
This commit is contained in:
Andreas Kling 2021-11-22 15:43:57 +01:00
commit dc486fa3f9
Notes: sideshowbarker 2024-07-18 00:52:55 +09:00
3 changed files with 53 additions and 0 deletions

View file

@ -1,4 +1,5 @@
set(SOURCES
Wrappers.cpp
syscall.cpp
)