forked from Bananymous/banan-os
Kernel/LibC: Implement {recv,send}msg as syscalls
This also removes the now old recvfrom and sendto syscalls. These are now implemented as wrappers around recvmsg and sendmsg. Also replace unnecessary spinlocks from unix socket with mutexes
This commit is contained in:
@@ -124,8 +124,8 @@ namespace Kernel
|
||||
case SYS_WAIT:
|
||||
case SYS_ACCEPT:
|
||||
case SYS_CONNECT:
|
||||
case SYS_RECVFROM:
|
||||
case SYS_SENDTO:
|
||||
case SYS_RECVMSG:
|
||||
case SYS_SENDMSG:
|
||||
case SYS_FLOCK:
|
||||
return true;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user