This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is there a way to prevent access to the stack?

Hello all,
I have problem: My preemptive scheduler rewites the CPU stack when needing to switch to another stack. But, I want to prevent users (=tasks) from rewriting the stack, mainly because of malicious activities that can be associated with that. Can I do this? The stack cannot be located outside the
on-chip memory, I thought.

Kind regards,
Tamir Michael

0