mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
Kernel: Fix SMAP violation in join_thread()
This commit is contained in:
parent
518f469970
commit
200459d644
Notes:
sideshowbarker
2024-07-19 10:15:52 +09:00
Author: https://github.com/awesomekling
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;
|
thread = nullptr;
|
||||||
|
|
||||||
if (exit_value)
|
if (exit_value)
|
||||||
*exit_value = joinee_exit_value;
|
copy_to_user(exit_value, &joinee_exit_value, sizeof(joinee_exit_value));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue