mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 13:48:21 +00:00
localsocket: implement SOCK_SEQPACKET and a bunch of SCM_RIGHTS fixes
This commit is contained in:
@@ -32,7 +32,10 @@ syscallret_t syscall_socket(context_t *, int domain, int type, int protocol) {
|
||||
socktype = SOCKET_TYPE_UDP;
|
||||
break;
|
||||
case AF_LOCAL:
|
||||
socktype = SOCKET_TYPE_LOCAL;
|
||||
if (type == SOCK_STREAM)
|
||||
socktype = SOCKET_TYPE_LOCAL;
|
||||
if (type == SOCK_SEQPACKET)
|
||||
socktype = SOCKET_TYPE_LOCAL_SEQPACKET;
|
||||
}
|
||||
|
||||
if (socktype == -1) {
|
||||
|
||||
Reference in New Issue
Block a user