Luna/kernel
apio bcdcfc4b45 Kernel: Add a pstat() system call
Not part of C or POSIX, but since there is no procfs right now, I thought it would be nice to have an interface to query process information.
It works like this: you pass the process ID and a pointer to a struct pstat (can be null).
If the process ID is -1, the kernel picks the process with the highest PID.
Then, if the pointer to a pstat struct is not null, the kernel fills it in with the process's information, and returns the process's PID.
2022-10-22 14:26:29 +02:00
..
include Kernel: Add a pstat() system call 2022-10-22 14:26:29 +02:00
src Kernel: Add a pstat() system call 2022-10-22 14:26:29 +02:00
Makefile Kernel: Build with -fstack-protector-strong instead of -fstack-protector-all 2022-10-12 14:50:31 +02:00
moon.ld Start the call stack with a null RBP before calling _start 2022-09-18 17:03:29 +02:00