mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:47:47 +00:00
Kernel/Graphics: Handle correctly unknown ioctls on a DisplayConnector
In such case, we should not assert but instead just return EINVAL.
This commit is contained in:
parent
e2ebc8826f
commit
e3de568a45
2 changed files with 11 additions and 6 deletions
|
@ -148,7 +148,7 @@ private:
|
|||
virtual void will_be_destroyed() override;
|
||||
virtual void after_inserting() override;
|
||||
|
||||
bool ioctl_requires_ownership(unsigned request) const;
|
||||
ErrorOr<bool> ioctl_requires_ownership(unsigned request) const;
|
||||
|
||||
OwnPtr<Memory::Region> m_framebuffer_region;
|
||||
OwnPtr<Memory::Region> m_fake_writes_framebuffer_region;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue