mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
Kernel+LibC: Stub out SO_{SND_RCV}BUF
This commit is contained in:
parent
2db4ab80a2
commit
1e79c04616
3 changed files with 10 additions and 0 deletions
|
@ -374,6 +374,10 @@ KResult LocalSocket::getsockopt(FileDescription& description, int level, int opt
|
|||
return EFAULT;
|
||||
|
||||
switch (option) {
|
||||
case SO_SNDBUF:
|
||||
TODO();
|
||||
case SO_RCVBUF:
|
||||
TODO();
|
||||
case SO_PEERCRED: {
|
||||
if (size < sizeof(ucred))
|
||||
return EINVAL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue