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
commit ed2422d7af
Notes: sideshowbarker 2024-07-19 18:44:50 +09:00
13 changed files with 139 additions and 23 deletions

17
Kernel/ProcFileSystem.h Normal file
View file

@ -0,0 +1,17 @@
#pragma once
#include <AK/Types.h>
#include <VirtualFileSystem/SyntheticFileSystem.h>
class ProcFileSystem final : public SyntheticFileSystem {
public:
virtual ~ProcFileSystem() override;
static RetainPtr<ProcFileSystem> create();
virtual bool initialize() override;
virtual const char* className() const override;
private:
ProcFileSystem();
};