mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
Kernel: Use Userspace<T> in ptrace syscall
This commit is contained in:
parent
85b2413403
commit
1209bf82c1
Notes:
sideshowbarker
2024-07-19 04:24:14 +09:00
Author: https://github.com/bgianfo
Commit: 1209bf82c1
Pull-request: https://github.com/SerenityOS/serenity/pull/2949
4 changed files with 17 additions and 16 deletions
|
@ -447,13 +447,13 @@ struct SC_stat_params {
|
|||
struct SC_ptrace_params {
|
||||
int request;
|
||||
pid_t pid;
|
||||
u8* addr;
|
||||
Userspace<u8*> addr;
|
||||
int data;
|
||||
};
|
||||
|
||||
struct SC_ptrace_peek_params {
|
||||
u32* address;
|
||||
u32* out_data;
|
||||
Userspace<const u32*> address;
|
||||
Userspace<u32*> out_data;
|
||||
};
|
||||
|
||||
void initialize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue