mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 16:15:08 +00:00
Kernel: select() was transferring the readfds into the exceptfds vector.
Just a mistake I spotted while reading the code. We don't actually detect exceptional descriptor events yet.
This commit is contained in:
parent
14c896ec58
commit
cdaf8cd656
1 changed files with 1 additions and 1 deletions
|
@ -1794,7 +1794,7 @@ int Process::sys$select(const Syscall::SC_select_params* params)
|
||||||
error = transfer_fds(readfds, current->m_select_read_fds);
|
error = transfer_fds(readfds, current->m_select_read_fds);
|
||||||
if (error)
|
if (error)
|
||||||
return error;
|
return error;
|
||||||
error = transfer_fds(readfds, current->m_select_exceptional_fds);
|
error = transfer_fds(exceptfds, current->m_select_exceptional_fds);
|
||||||
if (error)
|
if (error)
|
||||||
return error;
|
return error;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue