mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:48:12 +00:00
Kernel: Sending a signal to a process now goes to the main thread
Instead of falling back to the suspicious "any_thread()" mechanism, just fail with ESRCH if you try to kill() a PID that doesn't have a corresponding TID.
This commit is contained in:
parent
c9e38c5255
commit
0e7f85c24a
2 changed files with 8 additions and 9 deletions
|
@ -382,7 +382,7 @@ public:
|
|||
bool is_being_inspected() const { return m_inspector_count; }
|
||||
|
||||
void terminate_due_to_signal(u8 signal);
|
||||
void send_signal(u8, Process* sender);
|
||||
KResult send_signal(u8 signal, Process* sender);
|
||||
|
||||
u16 thread_count() const { return m_thread_count; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue