mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
Kernel+LibC: Stub out SO_{SND_RCV}BUF
This commit is contained in:
parent
2db4ab80a2
commit
1e79c04616
Notes:
sideshowbarker
2024-07-18 22:15:18 +09:00
Author: https://github.com/alimpfard
Commit: 1e79c04616
Pull-request: https://github.com/SerenityOS/serenity/pull/5325
Issue: https://github.com/SerenityOS/serenity/issues/90
Reviewed-by: https://github.com/BenWiederhake
Reviewed-by: https://github.com/linusg
Reviewed-by: https://github.com/sunverwerth
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