mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +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
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