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 d560137ae6
commit 2dce0a0415
9 changed files with 77 additions and 6 deletions

View File

@@ -38,6 +38,7 @@ namespace Kernel
void setup_exec();
bool has_signal_to_execute() const;
void set_signal_done(int signal);
void handle_next_signal();
void handle_signal(int signal, uintptr_t& return_rsp, uintptr_t& return_rip);