From c3ea570bae8f7daeac8e0614a958e983fcf9940e Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 22 Aug 2024 14:57:14 +0300 Subject: add ipc_notify testcase, remove ipc_ghost + A bit easier to implement just ignoring the ipc_resp() arguments than try to enforce that a notification is exited from by ipc_ghost(), especially in cases where the root process has been killed. --- src/uapi/dispatch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/uapi/dispatch.c') diff --git a/src/uapi/dispatch.c b/src/uapi/dispatch.c index 399f02b..859543a 100644 --- a/src/uapi/dispatch.c +++ b/src/uapi/dispatch.c @@ -65,9 +65,8 @@ void handle_syscall(sys_arg_t syscall, sys_arg_t a, sys_arg_t b, case SYS_IPC_TAIL: sys_ipc_tail(t, a, b, c, d, e); break; case SYS_IPC_KICK: sys_ipc_kick(t, a, b, c, d, e); break; case SYS_IPC_RESP: sys_ipc_resp(t, a, b, c, d, e); break; - case SYS_IPC_GHOST: sys_ipc_ghost(t, a, b, c, d, e); break; + case SYS_IPC_NOTIFY: sys_ipc_notify(t, a, b, c, d, e); break; case SYS_SET_HANDLER: sys_set_handler(t, a, b, c, d, e); break; - case SYS_NOTIFY: sys_notify(t, a, b, c, d, e); break; case SYS_CREATE: sys_create(t, a, b, c, d, e); break; case SYS_FORK: sys_fork(t, a, b, c, d, e); break; case SYS_EXEC: sys_exec(t, a, b, c, d, e); break; -- cgit v1.3