diff options
author | Anton Kling <anton@kling.gg> | 2024-12-11 14:56:58 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-12-12 15:48:19 +0100 |
commit | bc828883c51c3c0f35872019f4db632e4ce82dc5 (patch) | |
tree | c4217493e69e4e8078aa403ca23f71fdf598f826 /kernel/fs/procfs.h | |
parent | b343b0dae5aa51b5bd9b195936358341a943b3b2 (diff) |
procfs: Add a procfs
Userland can now interface with processes by writing/reading from
`/proc/<pid>/<entry>`
It can send signals, for example `echo 15 > /proc/1/signal`
Diffstat (limited to 'kernel/fs/procfs.h')
-rw-r--r-- | kernel/fs/procfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/fs/procfs.h b/kernel/fs/procfs.h new file mode 100644 index 0000000..8715789 --- /dev/null +++ b/kernel/fs/procfs.h @@ -0,0 +1,3 @@ +#include <fs/vfs.h> + +vfs_inode_t *procfs_mount(void); |