1
Fork 0
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:
Andreas Kling 2019-01-01 02:20:01 +01:00
parent 683185e4aa
commit 4b6a8f8a08
7 changed files with 7 additions and 10 deletions

View file

@ -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.