mirror of
https://github.com/RGBCube/serenity
synced 2025-07-15 06:37:36 +00:00
Implement /proc/PID/vm.
Refactored SyntheticFileSystem to maintain an arbitrary directory structure. ProcFileSystem creates a directory entry in /proc for each new process.
This commit is contained in:
parent
10347b9ae8
commit
a32b3a3ddf
15 changed files with 217 additions and 39 deletions
|
@ -133,7 +133,7 @@ bool FileHandle::isDirectory() const
|
|||
return m_vnode->metadata().isDirectory();
|
||||
}
|
||||
|
||||
ssize_t FileHandle::get_dir_entries(byte* buffer, size_t size)
|
||||
ssize_t FileHandle::get_dir_entries(byte* buffer, Unix::size_t size)
|
||||
{
|
||||
Locker locker(VirtualFileSystem::lock());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue