mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 20:12:13 +00:00
Kernel: Fix SMAP violation in join_thread()
This commit is contained in:
parent
518f469970
commit
200459d644
1 changed files with 1 additions and 1 deletions
|
@ -3370,7 +3370,7 @@ int Process::sys$join_thread(int tid, void** exit_value)
|
|||
thread = nullptr;
|
||||
|
||||
if (exit_value)
|
||||
*exit_value = joinee_exit_value;
|
||||
copy_to_user(exit_value, &joinee_exit_value, sizeof(joinee_exit_value));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue