mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09:00
Kernel: Rename Syscall::SyscallString => Syscall::StringArgument
This commit is contained in:
parent
0695ff8282
commit
416c7ac2b5
Notes:
sideshowbarker
2024-07-19 10:12:55 +09:00
Author: https://github.com/awesomekling
Commit: 416c7ac2b5
3 changed files with 8 additions and 8 deletions
|
@ -932,9 +932,9 @@ int Process::sys$execve(const Syscall::SC_execve_params* user_params)
|
|||
return true;
|
||||
if (!validate_read_typed(list.strings, list.length))
|
||||
return false;
|
||||
Vector<Syscall::SyscallString, 32> strings;
|
||||
Vector<Syscall::StringArgument, 32> strings;
|
||||
strings.resize(list.length);
|
||||
copy_from_user(strings.data(), list.strings, list.length * sizeof(Syscall::SyscallString));
|
||||
copy_from_user(strings.data(), list.strings, list.length * sizeof(Syscall::StringArgument));
|
||||
for (size_t i = 0; i < list.length; ++i) {
|
||||
if (!validate_read(strings[i].characters, strings[i].length))
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue