diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-08 12:22:55 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-08 12:24:05 +0100 |
commit | eda086699287dcd8f6f858a5d3c0a43009dd9e59 (patch) | |
tree | c3a125d429f5602490d9fa140610f10d36d2ab2b /Kernel/Syscall.h | |
parent | 0b5d5fc3c955baf3029286f2410005d652f9dc2d (diff) | |
download | serenity-eda086699287dcd8f6f858a5d3c0a43009dd9e59.zip |
Add a C++ helper class for working with shared buffers.
This is a bit more comfortable than passing the shared buffer ID manually
everywhere and keeping track of size etc.
Diffstat (limited to 'Kernel/Syscall.h')
-rw-r--r-- | Kernel/Syscall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h index f4e3255957..4a767b0f5f 100644 --- a/Kernel/Syscall.h +++ b/Kernel/Syscall.h @@ -86,6 +86,8 @@ __ENUMERATE_SYSCALL(fchmod) \ __ENUMERATE_SYSCALL(symlink) \ __ENUMERATE_SYSCALL(restore_signal_mask) \ + __ENUMERATE_SYSCALL(get_shared_buffer_size) \ + __ENUMERATE_SYSCALL(seal_shared_buffer) \ namespace Syscall { |