1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:37:44 +00:00

Kernel: Rewrite ProcFS.

Now the filesystem is generated on-the-fly instead of manually adding and
removing inodes as processes spawn and die.

The code is convoluted and bloated as I wrote it while sleepless. However,
it's still vastly better than the old ProcFS, so I'm committing it.

I also added /proc/PID/fd/N symlinks for each of a process's open fd's.
This commit is contained in:
Andreas Kling 2019-02-03 12:33:11 +01:00
parent ab56f36bfb
commit 5e9ba2ac84
13 changed files with 1133 additions and 468 deletions

View file

@ -15,7 +15,7 @@ typedef __intmax_t intmax_t;
typedef uint32_t uid_t;
typedef uint32_t gid_t;
typedef int pid_t;
typedef int16_t pid_t;
typedef uint32_t size_t;
typedef int32_t ssize_t;