mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
Start adding a basic /proc filesystem and a "ps" utility.
This commit is contained in:
parent
98f76f0153
commit
ed2422d7af
13 changed files with 139 additions and 23 deletions
17
Kernel/ProcFileSystem.h
Normal file
17
Kernel/ProcFileSystem.h
Normal 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();
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue