1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

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

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;