mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 17:57:34 +00:00
Kernel+LibC: Add sys$recvfd() and sys$sendfd() for fd passing
These new syscalls allow you to send and receive file descriptors over a local domain socket. This will enable various privilege separation techniques and other good stuff. :^)
This commit is contained in:
parent
cd02144a06
commit
d4195672b7
7 changed files with 127 additions and 2 deletions
|
@ -189,7 +189,9 @@ namespace Kernel {
|
|||
__ENUMERATE_SYSCALL(shutdown) \
|
||||
__ENUMERATE_SYSCALL(get_stack_bounds) \
|
||||
__ENUMERATE_SYSCALL(ptrace) \
|
||||
__ENUMERATE_SYSCALL(minherit)
|
||||
__ENUMERATE_SYSCALL(minherit) \
|
||||
__ENUMERATE_SYSCALL(sendfd) \
|
||||
__ENUMERATE_SYSCALL(recvfd)
|
||||
|
||||
namespace Syscall {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue