1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:47:45 +00:00

Kernel: Implement new ptrace function PT_PEEKBUF

This enables the tracer to copy large amounts of data in a much saner
way.
This commit is contained in:
Ben Wiederhake 2021-11-25 22:55:12 +01:00 committed by Andreas Kling
parent 3e223185b3
commit 0f8483f09c
4 changed files with 35 additions and 0 deletions

View file

@ -21,8 +21,11 @@ extern "C" {
#define PT_PEEK 7
#define PT_POKE 8
#define PT_SETREGS 9
// Serenity extensions:
#define PT_POKEDEBUG 10
#define PT_PEEKDEBUG 11
#define PT_PEEKBUF 12
#define PT_READ_I PT_PEEK
#define PT_READ_D PT_PEEK