mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
Kernel: Remove InodeMetadata::may_{read,write,execute}(Process const&)
These have no definition and are never used.
This commit is contained in:
parent
d5fbdf1866
commit
3472c84d14
Notes:
sideshowbarker
2024-07-17 03:23:52 +09:00
Author: https://github.com/sin-ack
Commit: 3472c84d14
Pull-request: https://github.com/SerenityOS/serenity/pull/15428
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/linusg
Reviewed-by: https://github.com/timschumi
1 changed files with 0 additions and 4 deletions
|
@ -39,10 +39,6 @@ inline bool is_setgid(mode_t mode) { return (mode & S_ISGID) == S_ISGID; }
|
||||||
struct InodeMetadata {
|
struct InodeMetadata {
|
||||||
bool is_valid() const { return inode.is_valid(); }
|
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_read(Credentials const&) const;
|
||||||
bool may_write(Credentials const&) const;
|
bool may_write(Credentials const&) const;
|
||||||
bool may_execute(Credentials const&) const;
|
bool may_execute(Credentials const&) const;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue