mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:57:45 +00:00
Kernel: Add a method to determine the desired permissions of a Device
This method will be used later in DevFS, to set the appropriate permissions for each device node.
This commit is contained in:
parent
092a13211a
commit
18e77aa285
17 changed files with 50 additions and 0 deletions
|
@ -57,6 +57,8 @@ public:
|
|||
uid_t uid() const { return m_uid; }
|
||||
uid_t gid() const { return m_gid; }
|
||||
|
||||
virtual mode_t required_mode() const = 0;
|
||||
|
||||
virtual bool is_device() const override { return true; }
|
||||
virtual bool is_disk_device() const { return false; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue