mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +00:00
Kernel: Use Userspace<T> for the sendto syscall, and Socket implementation
Note that the data member is of type ImmutableBufferArgument, which has no Userspace<T> usage. I left it alone for now, to be fixed in a future change holistically for all usages.
This commit is contained in:
parent
d4dae49dcd
commit
9f9b05ba0f
Notes:
sideshowbarker
2024-07-19 03:25:30 +09:00
Author: https://github.com/bgianfo
Commit: 9f9b05ba0f
Pull-request: https://github.com/SerenityOS/serenity/pull/3201
Reviewed-by: https://github.com/awesomekling
9 changed files with 16 additions and 13 deletions
|
@ -290,7 +290,7 @@ struct SC_sendto_params {
|
|||
int sockfd;
|
||||
ImmutableBufferArgument<void, size_t> data;
|
||||
int flags;
|
||||
const sockaddr* addr;
|
||||
Userspace<const sockaddr*> addr;
|
||||
socklen_t addr_length;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue