Open
Description
Currently struct pcb
is allocated by stealing a chunk of the kernel stack. There are two issues in the current implementation.
- We are not setting bounds on
struct pcb
- Setting bounds on
struct pcb
requires dealing with representability and padding.
By moving struct pcb
to a separate allocation we avoid having to deal with representability issues and prevent overflow into pcb from a kernel stack pointer.
Metadata
Metadata
Assignees
Labels
No labels