mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:37:35 +00:00
More work on CoreInode.
This commit is contained in:
parent
26852a8363
commit
c735c56e4c
13 changed files with 342 additions and 172 deletions
|
@ -200,8 +200,8 @@ public:
|
|||
bool validate_user_read(LinearAddress) const;
|
||||
bool validate_user_write(LinearAddress) const;
|
||||
|
||||
InodeIdentifier cwdInode() const { return m_cwd ? m_cwd->inode : InodeIdentifier(); }
|
||||
InodeIdentifier executableInode() const { return m_executable ? m_executable->inode : InodeIdentifier(); }
|
||||
CoreInode* cwd_inode() { return m_cwd ? m_cwd->core_inode() : nullptr; }
|
||||
CoreInode* executable_inode() { return m_executable ? m_executable->core_inode() : nullptr; }
|
||||
|
||||
size_t number_of_open_file_descriptors() const;
|
||||
size_t max_open_file_descriptors() const { return m_max_open_file_descriptors; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue