mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +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:
parent
8292061f53
commit
38ddf301f6
Notes:
sideshowbarker
2024-07-18 00:57:31 +09:00
Author: https://github.com/itamar8910
Commit: 38ddf301f6
Pull-request: https://github.com/SerenityOS/serenity/pull/10973
Reviewed-by: https://github.com/linusg ✅
6 changed files with 26 additions and 26 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue