1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:57:44 +00:00

Kernel: Have devices automagically register themselves with the VFS.

This commit is contained in:
Andreas Kling 2019-02-17 10:38:07 +01:00
parent e74c833af3
commit b6bf26430d
4 changed files with 11 additions and 24 deletions

View file

@ -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; }