mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 23:22:07 +00:00
Kernel: Take const Process& in InodeMetadata::may_{read,write,execute}
This commit is contained in:
parent
dcc4704fb5
commit
faf32153f6
2 changed files with 6 additions and 6 deletions
|
@ -26,9 +26,9 @@ inline bool is_setgid(mode_t mode) { return mode & 02000; }
|
|||
struct InodeMetadata {
|
||||
bool is_valid() const { return inode.is_valid(); }
|
||||
|
||||
bool may_read(Process&) const;
|
||||
bool may_write(Process&) const;
|
||||
bool may_execute(Process&) const;
|
||||
bool may_read(const Process&) const;
|
||||
bool may_write(const Process&) const;
|
||||
bool may_execute(const Process&) const;
|
||||
|
||||
bool may_read(uid_t u, gid_t g, const HashTable<gid_t>& eg) const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue