From 6bf371cc35c11890ab18c32aabd11bf8a816e574 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 4 Jul 2024 23:03:16 +0200 Subject: TCP: Add back support for listening on a socket --- kernel/cpu/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/cpu') diff --git a/kernel/cpu/syscall.c b/kernel/cpu/syscall.c index a74adfd..7653c6a 100644 --- a/kernel/cpu/syscall.c +++ b/kernel/cpu/syscall.c @@ -261,7 +261,7 @@ int syscall_open_process(int pid) { vfs_inode_t *inode = vfs_create_inode( process->pid, 0 /*type*/, 0 /*has_data*/, 0 /*can_write*/, 1 /*is_open*/, - process /*internal_object*/, 0 /*file_size*/, NULL /*open*/, + 0, process /*internal_object*/, 0 /*file_size*/, NULL /*open*/, NULL /*create_file*/, NULL /*read*/, NULL /*write*/, NULL /*close*/, NULL /*create_directory*/, NULL /*get_vm_object*/, NULL /*truncate*/, NULL /*stat*/, process_signal, NULL /*connect*/); -- cgit v1.2.3