Kernel: Expose Inode::can_access as static member

This commit is contained in:
2026-08-08 01:41:48 +03:00
parent 2be915a1df
commit 2c4fee4a82
2 changed files with 17 additions and 11 deletions
+1
View File
@@ -83,6 +83,7 @@ namespace Kernel
public:
virtual ~Inode() {}
static bool can_access(uid_t uid, gid_t gid, mode_t mode, const Credentials& credentials, int);
bool can_access(const Credentials&, int) const;
bool operator==(const Inode& other) const { return dev() == other.dev() && ino() == other.ino(); }