mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 22:42:08 +00:00
Unbreak ksym loading and make reading /proc/PID/stack not crash.
This commit is contained in:
parent
683185e4aa
commit
4b6a8f8a08
7 changed files with 7 additions and 10 deletions
|
@ -1553,7 +1553,7 @@ void sleep(dword ticks)
|
|||
sched_yield();
|
||||
}
|
||||
|
||||
bool Process::isValidAddressForKernel(LinearAddress laddr) const
|
||||
bool Process::validate_read_from_kernel(LinearAddress laddr) const
|
||||
{
|
||||
// We check extra carefully here since the first 4MB of the address space is identity-mapped.
|
||||
// This code allows access outside of the known used address ranges to get caught.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue