1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

Kernel: Make /proc/PID/fds display something useful for character devices.

This commit is contained in:
Andreas Kling 2019-01-21 02:33:01 +01:00
parent 786b903d62
commit e6fc84e234
14 changed files with 46 additions and 6 deletions

View file

@ -13,4 +13,5 @@ private:
virtual ssize_t write(Process&, const byte* buffer, size_t bufferSize) override;
virtual bool can_read(Process&) const override;
virtual bool can_write(Process&) const override { return true; }
virtual const char* class_name() const override { return "GUIEventDevice"; }
};