|
|
|
|
|
by jpcfl
844 days ago
|
|
Software stack checking does not guarantee protection from stack overflows wreaking havoc. E.g., your thread could blow its stack, then get preempted before the stack checker can run. Mandating guard pages/MPU protection would rule out targeting embedded platforms which lack sufficient hardware support. |
|
Yes it does, unless you're violating the memory model. Or are you thinking of Unix signals? Those do seem a bit harder to implement perfectly.
> Mandating guard pages/MPU protection would rule out targeting embedded platforms which lack sufficient hardware support.
Such systems are not secure if they don't have IOMMUs. But can always emulate everything in software and you must do so here.