1
Fork 0
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:
AnotherTest 2021-01-19 01:33:23 +03:30 committed by Andreas Kling
parent 2db4ab80a2
commit 1e79c04616
3 changed files with 10 additions and 0 deletions

View file

@ -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;