mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
Kernel: Take const Process& in InodeMetadata::may_{read,write,execute}
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user