浏览代码

Kernel: Remove InodeMetadata::may_{read,write,execute}(Process const&)

These have no definition and are never used.
sin-ack 2 年之前
父节点
当前提交
3472c84d14
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      Kernel/FileSystem/InodeMetadata.h

+ 0 - 4
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;