mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:27:43 +00:00
Kernel+LibC: Implement the socketpair() syscall
This commit is contained in:
parent
c841012f56
commit
aa792062cb
11 changed files with 100 additions and 91 deletions
|
@ -120,6 +120,7 @@ namespace Kernel {
|
|||
S(beep) \
|
||||
S(getsockname) \
|
||||
S(getpeername) \
|
||||
S(socketpair) \
|
||||
S(sched_setparam) \
|
||||
S(sched_getparam) \
|
||||
S(fchown) \
|
||||
|
@ -293,6 +294,13 @@ struct SC_getpeername_params {
|
|||
socklen_t* addrlen;
|
||||
};
|
||||
|
||||
struct SC_socketpair_params {
|
||||
int domain;
|
||||
int type;
|
||||
int protocol;
|
||||
int* sv;
|
||||
};
|
||||
|
||||
struct SC_futex_params {
|
||||
u32* userspace_address;
|
||||
int futex_op;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue