Kernel: Report POLLNVAL events in sys$poll instead of returning EBADF

As required by Dr. Posix.
This commit is contained in:
Idan Horowitz 2022-07-10 00:18:54 +03:00 committed by Andreas Kling
commit 275e5cdb64
Notes: sideshowbarker 2024-07-17 09:32:55 +09:00
3 changed files with 22 additions and 5 deletions

View file

@ -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 };
};