Luna/kernel/include/sys
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
..
elf ELFLoader: Make check_elf_image return how much memory the executable will use on success 2022-10-12 19:20:14 +02:00
Syscall.h Kernel: Add a pstat() system call 2022-10-22 14:26:29 +02:00
UserMemory.h UserMemory: do not map refs into kernel memory 2022-10-20 18:50:07 +02:00