1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:17:45 +00:00

Kernel: Merge the shbuf_get_size() syscall into shbuf_get()

Add an extra out-parameter to shbuf_get() that receives the size of the
shared buffer. That way we don't need to make a separate syscall to
get the size, which we always did immediately after.
This commit is contained in:
Andreas Kling 2020-02-28 12:29:14 +01:00
parent a1514369d7
commit dcd619bd46
6 changed files with 13 additions and 36 deletions

View file

@ -121,7 +121,6 @@ namespace Kernel {
__ENUMERATE_SYSCALL(chown) \
__ENUMERATE_SYSCALL(fchmod) \
__ENUMERATE_SYSCALL(symlink) \
__ENUMERATE_SYSCALL(shbuf_get_size) \
__ENUMERATE_SYSCALL(shbuf_seal) \
__ENUMERATE_SYSCALL(sendto) \
__ENUMERATE_SYSCALL(recvfrom) \