1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00

Add a very hackish /proc/PID/stack.

It walks the stack and identifies anything that looks like a kernel symbol.
This could be a lot more sophisticated.
This commit is contained in:
Andreas Kling 2018-10-26 22:32:35 +02:00
parent 81627cf7d5
commit c928b06218
14 changed files with 130 additions and 13 deletions

View file

@ -107,10 +107,10 @@ kmalloc( DWORD size )
}
}
kprintf( "kmalloc(): PANIC! Out of memory (no suitable block)" );
kprintf("kmalloc(): PANIC! Out of memory (no suitable block for size %u)\n", size);
HANG;
return 0L;
return nullptr;
}
PUBLIC void