diff options
Diffstat (limited to 'Kernel/Syscall.h')
-rw-r--r-- | Kernel/Syscall.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h index 554dc99b5c..a66a795d94 100644 --- a/Kernel/Syscall.h +++ b/Kernel/Syscall.h @@ -174,7 +174,8 @@ typedef u32 socklen_t; __ENUMERATE_SYSCALL(set_thread_boost) \ __ENUMERATE_SYSCALL(set_process_boost) \ __ENUMERATE_SYSCALL(chroot) \ - __ENUMERATE_SYSCALL(pledge) + __ENUMERATE_SYSCALL(pledge) \ + __ENUMERATE_SYSCALL(unveil) namespace Syscall { @@ -385,6 +386,11 @@ struct SC_pledge_params { StringArgument execpromises; }; +struct SC_unveil_params { + StringArgument path; + StringArgument permissions; +}; + void initialize(); int sync(); |