os/vfs.h: add Directory::Entry::rwx accessor

This commit is contained in:
Norman Feske 2020-02-19 10:31:11 +01:00 committed by Christian Helmuth
parent 582e0e718c
commit 7118ad494c

View File

@ -77,6 +77,8 @@ struct Genode::Directory : Noncopyable, Interface
Vfs::Directory_service::Dirent_type type() const { return _dirent.type; }
bool dir() const { return _dirent.type == Dirent_type::DIRECTORY; }
Vfs::Node_rwx rwx() const { return _dirent.rwx; }
};
enum { MAX_PATH_LEN = 256 };