1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-17 18:35:07 +00:00
Commit graph

3 commits

Author SHA1 Message Date
Andreas Kling
33d34d9b26 Kernel: Use a Lockable<bool> for sysctl booleans as well. 2019-02-08 16:18:24 +01:00
Andreas Kling
a3799cb71e ProcFS: Add sysctl strings.
They are backed by a Lockable<String> to ensure that access is synchronized.
2019-02-08 09:46:46 +01:00
Andreas Kling
5e9ba2ac84 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.
2019-02-03 12:33:11 +01:00