mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:17:35 +00:00
Kernel: Make /proc/PID/fds display something useful for character devices.
This commit is contained in:
parent
786b903d62
commit
e6fc84e234
14 changed files with 46 additions and 6 deletions
|
@ -19,6 +19,9 @@ public:
|
|||
virtual bool can_write(Process&) const override { return true; }
|
||||
|
||||
private:
|
||||
// ^CharacterDevice
|
||||
virtual const char* class_name() const override { return "PTYMultiplexer"; }
|
||||
|
||||
Lock m_lock;
|
||||
Vector<RetainPtr<MasterPTY>> m_freelist;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue