Skip to content
Commit 256db60e authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

kernel: mark z_cstart to not have stack protector



Most of the time, z_cstart() is running on an arbitrary region
of memory as stack, where the necessary stack setup has not been
performed. This prevents stack protection to work correctly,
as the stack canary has not been populated. So mark z_cstart()
to have no stack protection at all inside the function to avoid
raising exception during boot.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 52f570b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment