syscall: socket: return with error

Return with an error when calling socket()
This commit is contained in:
Matthew Leach
2025-11-25 16:45:28 +00:00
committed by Matthew Leach
parent 6a029c340a
commit 6e988c3639
3 changed files with 4 additions and 2 deletions

View File

@@ -198,7 +198,7 @@
| 0xc3 (195) | shmctl | (int shmid, int cmd, struct shmid_ds *buf) | __arm64_sys_shmctl | false |
| 0xc4 (196) | shmat | (int shmid, char *shmaddr, int shmflg) | __arm64_sys_shmat | false |
| 0xc5 (197) | shmdt | (char *shmaddr) | __arm64_sys_shmdt | false |
| 0xc6 (198) | socket | (int family, int type, int protocol) | __arm64_sys_socket | false |
| 0xc6 (198) | socket | (int family, int type, int protocol) | __arm64_sys_socket | dummy |
| 0xc7 (199) | socketpair | (int family, int type, int protocol, int *usockvec) | __arm64_sys_socketpair | false |
| 0xc8 (200) | bind | (int fd, struct sockaddr *umyaddr, int addrlen) | __arm64_sys_bind | false |
| 0xc9 (201) | listen | (int fd, int backlog) | __arm64_sys_listen | false |