mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
Kernel: Remove unnecessary capture in sys$execve()
This commit is contained in:
parent
f88a7cd4e1
commit
0930e2323b
1 changed files with 1 additions and 1 deletions
|
@ -578,7 +578,7 @@ int Process::sys$execve(Userspace<const Syscall::SC_execve_params*> user_params)
|
|||
path = path_arg.value();
|
||||
}
|
||||
|
||||
auto copy_user_strings = [this](const auto& list, auto& output) {
|
||||
auto copy_user_strings = [](const auto& list, auto& output) {
|
||||
if (!list.length)
|
||||
return true;
|
||||
Checked size = sizeof(list.length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue