mirror of
https://github.com/RGBCube/serenity
synced 2025-07-08 23:17:35 +00:00
Kernel: Fix SMAP violation in thread signal dispatch
This commit is contained in:
parent
9eef39d68a
commit
f6691ad26e
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ bool Thread::has_signal_handler(u8 signal) const
|
|||
static void push_value_on_user_stack(u32* stack, u32 data)
|
||||
{
|
||||
*stack -= 4;
|
||||
*(u32*)*stack = data;
|
||||
copy_to_user((u32*)*stack, &data, sizeof(u32));
|
||||
}
|
||||
|
||||
ShouldUnblockThread Thread::dispatch_signal(u8 signal)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue