summaryrefslogtreecommitdiff
path: root/Kernel/types.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-03 12:33:11 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-03 12:33:11 +0100
commit5e9ba2ac84ca4766111b1845ca07fc32872e82fc (patch)
tree7ad4200cd20cb8a3f1e108c5463bd853285e9758 /Kernel/types.h
parentab56f36bfbc7d9de811110cdfa5e2f0c324fbbbb (diff)
downloadserenity-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 'Kernel/types.h')
-rw-r--r--Kernel/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/types.h b/Kernel/types.h
index f7ce3abab1..b355315b46 100644
--- a/Kernel/types.h
+++ b/Kernel/types.h
@@ -14,7 +14,7 @@ typedef short __s16;
typedef dword uid_t;
typedef dword gid_t;
-typedef int pid_t;
+typedef signed_word pid_t;
typedef dword time_t;
typedef dword suseconds_t;