mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
Kernel: Use Userspace<T> for the open syscall
This commit is contained in:
parent
f3eb7db422
commit
1eeaed31c2
Notes:
sideshowbarker
2024-07-19 04:18:19 +09:00
Author: https://github.com/bgianfo
Commit: 1eeaed31c2
Pull-request: https://github.com/SerenityOS/serenity/pull/2996
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
int Process::sys$open(const Syscall::SC_open_params* user_params)
|
||||
int Process::sys$open(Userspace<const Syscall::SC_open_params*> user_params)
|
||||
{
|
||||
Syscall::SC_open_params params;
|
||||
if (!validate_read_and_copy_typed(¶ms, user_params))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue