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

Kernel+LibC: Fix ptrace for 64-bit

This makes the types used in the PT_PEEK and PT_POKE actions
suitable for 64-bit platforms as well.
This commit is contained in:
Itamar 2021-11-19 16:13:07 +02:00 committed by Linus Groh
parent 8292061f53
commit 38ddf301f6
6 changed files with 26 additions and 26 deletions

View file

@ -461,13 +461,13 @@ struct SC_stat_params {
struct SC_ptrace_params {
int request;
pid_t tid;
u8* addr;
int data;
void* addr;
FlatPtr data;
};
struct SC_ptrace_peek_params {
const u32* address;
u32* out_data;
const void* address;
FlatPtr* out_data;
};
struct SC_set_coredump_metadata_params {