kernel: usercopy functions

This commit is contained in:
Matheus
2024-06-09 19:31:26 -03:00
parent 429f56aced
commit 50b4b45d00
53 changed files with 712 additions and 260 deletions
+1
View File
@@ -3,6 +3,7 @@
#include <kernel/sock.h>
#include <errno.h>
// TODO handle abisockaddr
syscallret_t syscall_accept(context_t *, int oldfd, abisockaddr_t *abisockaddr, int *addrlen, int acceptflags) {
syscallret_t ret = {
.ret = -1