Start adding a basic /proc filesystem and a "ps" utility.

This commit is contained in:
Andreas Kling
2018-10-23 11:57:38 +02:00
parent 98f76f0153
commit ed2422d7af
13 changed files with 139 additions and 23 deletions

View File

@@ -645,7 +645,9 @@ FileHandle* Task::openFile(String&& path)
{
auto handle = VirtualFileSystem::the().open(move(path));
if (!handle) {
#ifdef DEBUG_IO
kprintf("vfs::open() failed\n");
#endif
return nullptr;
}
handle->setFD(m_fileHandles.size());