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