diff options
author | Anton Kling <anton@kling.gg> | 2024-07-04 23:03:16 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-07-05 12:46:50 +0200 |
commit | 6bf371cc35c11890ab18c32aabd11bf8a816e574 (patch) | |
tree | 00df8f66ec65fc8a59aa315ef90be91cadd64cb5 /kernel/cpu | |
parent | 59893c116e9e4e5dd04c24c0ba2fd06fe1936500 (diff) |
TCP: Add back support for listening on a socket
Diffstat (limited to 'kernel/cpu')
-rw-r--r-- | kernel/cpu/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
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*/); |