mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:37:34 +00:00
Kernel: Have devices automagically register themselves with the VFS.
This commit is contained in:
parent
e74c833af3
commit
b6bf26430d
4 changed files with 11 additions and 24 deletions
|
@ -39,7 +39,7 @@ public:
|
|||
virtual bool is_character_device() const { return false; }
|
||||
|
||||
protected:
|
||||
Device(unsigned major, unsigned minor) : m_major(major), m_minor(minor) { }
|
||||
Device(unsigned major, unsigned minor);
|
||||
void set_uid(uid_t uid) { m_uid = uid; }
|
||||
void set_gid(gid_t gid) { m_gid = gid; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue