summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsin-ack <sin-ack@users.noreply.github.com>2022-10-01 11:59:54 +0000
committerAndrew Kaster <andrewdkaster@gmail.com>2022-12-11 19:55:37 -0700
commit3472c84d14b66e8e0d1481299fbc33f6e8b7bb50 (patch)
treef9e6213fb231429db4ff21289457b23c4c4d9c3a
parentd5fbdf1866981e251f36b8a40eb1c21cfa8912cd (diff)
downloadserenity-3472c84d14b66e8e0d1481299fbc33f6e8b7bb50.zip
Kernel: Remove InodeMetadata::may_{read,write,execute}(Process const&)
These have no definition and are never used.
-rw-r--r--Kernel/FileSystem/InodeMetadata.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/Kernel/FileSystem/InodeMetadata.h b/Kernel/FileSystem/InodeMetadata.h
index da63dc7b8a..6fbe56666f 100644
--- a/Kernel/FileSystem/InodeMetadata.h
+++ b/Kernel/FileSystem/InodeMetadata.h
@@ -39,10 +39,6 @@ inline bool is_setgid(mode_t mode) { return (mode & S_ISGID) == S_ISGID; }
struct InodeMetadata {
bool is_valid() const { return inode.is_valid(); }
- bool may_read(Process const&) const;
- 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;