Age | Commit message (Collapse) | Author |
|
i have been planning to implement something like this for a while now.
it should be faster when doing consecutive syscalls (to be tested).
it will also be helpful in writing the elf loader
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dead processes now can't have alive children
|
|
|
|
other parts of the kernel don't need to care about which process exactly
gets switched into
|
|
this makes `process_transition` safe again, as it won't be able to free
processes. it was a pretty unintuitive behaviour
|
|
|
|
|
|
|
|
|
|
removes `proc.c`'s pointless dependency on `vfs/root.h`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This isn't really all that useful, it doesn't enable anything that
wasn't possible before. With it removed I'll be able to implement
process_exit() in a much simpler way.
|
|
the new name is terrible, but at least the function now has a clear
purpose
|
|
|
|
|
|
|
|
|
|
awaited_req is a garbage name but i couldn't come up with a better one.
i also have no idea how to handle all the failure states
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this avoid accidental dereferences, and now it's easy to tell apart
which pointers are safe to directly read and which aren't.
cons:
- const is completely discarded
|
|
`()` means that any amt of arguments will be accepted, which isn't what
i want
|
|
|
|
|
|
|