aboutsummaryrefslogtreecommitdiff
path: root/src/uapi/dispatch.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-08-22 14:57:14 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-08-22 14:57:14 +0300
commitc3ea570bae8f7daeac8e0614a958e983fcf9940e (patch)
treea6060c571a2ce715037f98df139562cb161cf91e /src/uapi/dispatch.c
parentfcd4d35ab52e26942f7adbd555be4d563ad06980 (diff)
downloadkmi-c3ea570bae8f7daeac8e0614a958e983fcf9940e.tar.gz
kmi-c3ea570bae8f7daeac8e0614a958e983fcf9940e.zip
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.
Diffstat (limited to 'src/uapi/dispatch.c')
-rw-r--r--src/uapi/dispatch.c3
1 files changed, 1 insertions, 2 deletions
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;