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

These have no definition and are never used.
This commit is contained in:
sin-ack 2022-10-01 11:59:54 +00:00 committed by Andrew Kaster
parent d5fbdf1866
commit 3472c84d14
Notes: sideshowbarker 2024-07-17 03:23:52 +09:00

View file

@ -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;