summaryrefslogtreecommitdiff
path: root/Kernel/ProcFileSystem.h
AgeCommit message (Collapse)Author
2019-02-03Kernel: Rewrite ProcFS.Andreas Kling
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-01-31Big, possibly complete sweep of naming changes.Andreas Kling
2019-01-23Move VFS sources into Kernel/.Andreas Kling
2019-01-18Add mechanism to expose kernel variables to userspace via ProcFS.Andreas Kling
Only booleans are supported at first. More types can be added easily. Use this to add /proc/sys/wm_flash_flush which when enabled flashes pending screen flush rects in yellow before they happen.
2018-12-03More coding style changes.Andreas Kling
2018-11-15Some more renaming:Andreas Kling
FileSystem -> FS SyntheticFileSystem -> SynthFS ProcFileSystem -> ProcFS Ext2FileSystem -> Ext2FS Ext2Inode -> Ext2FSInode
2018-11-15More VFS cleanup.Andreas Kling
2018-11-01Process now maps regions immediately when they are allocated.Andreas Kling
This avoids having to do a separate MM.mapRegionsForTask() pass. Also, more Task => Process renaming that I apparently hadn't saved yet.
2018-10-26Add a simple /proc/mounts that enumerates the current VFS mounts.Andreas Kling
2018-10-26Implement /proc/PID/vm.Andreas Kling
Refactored SyntheticFileSystem to maintain an arbitrary directory structure. ProcFileSystem creates a directory entry in /proc for each new process.
2018-10-23Start adding a basic /proc filesystem and a "ps" utility.Andreas Kling