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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user