mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 19:15:06 +00:00
Kernel: Use Userspace<T> for the futex syscall
Utilizie Userspace<T> for the syscall argument itself, as well as internally in the SC_futex_params struct. We were double validating the SC_futex_params.timeout validation, that was removed as well.
This commit is contained in:
parent
a7a7e6245f
commit
fa666f6897
3 changed files with 18 additions and 26 deletions
|
@ -331,10 +331,10 @@ struct SC_getpeername_params {
|
|||
};
|
||||
|
||||
struct SC_futex_params {
|
||||
i32* userspace_address;
|
||||
Userspace<const i32*> userspace_address;
|
||||
int futex_op;
|
||||
i32 val;
|
||||
const timespec* timeout;
|
||||
Userspace<const timespec*> timeout;
|
||||
};
|
||||
|
||||
struct SC_setkeymap_params {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue