Kernel: Userspace signal handlers are now called one at a time

I added a syscall for telling the kernel when signal execution has
finished. We should send a random hash or id to the signal trampoline
that we would include in the syscall, so validity of signal exit can
be confirmed.
This commit is contained in:
Bananymous
2023-07-23 13:09:04 +03:00
parent 7391d91317
commit adb14ba373
9 changed files with 77 additions and 6 deletions

View File

@@ -24,6 +24,9 @@ signal_trampoline:
movq 120(%rsp), %rax
call *%rax
movq 128(%rsp), %rdi
call signal_done
popq %r15
popq %r14
popq %r13