mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 11:09:18 +00:00
Kernel: Report POLLNVAL events in sys$poll instead of returning EBADF
As required by Dr. Posix.
This commit is contained in:
parent
e32f6903f6
commit
275e5cdb64
Notes:
sideshowbarker
2024-07-17 09:32:55 +09:00
Author: https://github.com/IdanHo
Commit: 275e5cdb64
Pull-request: https://github.com/SerenityOS/serenity/pull/14533
Reviewed-by: https://github.com/linusg ✅
3 changed files with 22 additions and 5 deletions
|
@ -668,7 +668,7 @@ public:
|
|||
class SelectBlocker final : public FileBlocker {
|
||||
public:
|
||||
struct FDInfo {
|
||||
NonnullRefPtr<OpenFileDescription> description;
|
||||
RefPtr<OpenFileDescription> description;
|
||||
BlockFlags block_flags { BlockFlags::None };
|
||||
BlockFlags unblocked_flags { BlockFlags::None };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue