diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-03 12:33:11 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-03 12:33:11 +0100 |
commit | 5e9ba2ac84ca4766111b1845ca07fc32872e82fc (patch) | |
tree | 7ad4200cd20cb8a3f1e108c5463bd853285e9758 /LibC | |
parent | ab56f36bfbc7d9de811110cdfa5e2f0c324fbbbb (diff) | |
download | serenity-5e9ba2ac84ca4766111b1845ca07fc32872e82fc.zip |
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.
Diffstat (limited to 'LibC')
-rw-r--r-- | LibC/sys/types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibC/sys/types.h b/LibC/sys/types.h index 7d283480a9..18a3fcb1aa 100644 --- a/LibC/sys/types.h +++ b/LibC/sys/types.h @@ -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; |