summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/InodeMetadata.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem/InodeMetadata.h')
-rw-r--r--Kernel/FileSystem/InodeMetadata.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Kernel/FileSystem/InodeMetadata.h b/Kernel/FileSystem/InodeMetadata.h
index 93e5ed2742..685e38e4aa 100644
--- a/Kernel/FileSystem/InodeMetadata.h
+++ b/Kernel/FileSystem/InodeMetadata.h
@@ -42,6 +42,10 @@ struct InodeMetadata {
bool may_write(Process const&) const;
bool may_execute(Process const&) const;
+ bool may_read(Credentials const&) const;
+ bool may_write(Credentials const&) const;
+ bool may_execute(Credentials const&) const;
+
bool may_read(UserID u, GroupID g, Span<GroupID const> eg) const
{
if (u == 0)