mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-05 17:52:34 +00:00
This is causing problems, as if we create a thread in a system call we will *not* be using the kernel page tables if CONFIG_KPTI=n, resulting in a crash when the later call to copy_page_tables() tries to initialize the PDPT (which is in the same page as the privilege stack). Just don't fiddle with this page's permissions; we don't need it as a guard area anyway since we have a stack guard placed immediately before it, and this page is unused if user mode isn't active. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
---|---|---|
.. | ||
core | ||
include | ||
CMakeLists.txt | ||
gen_gdt.py | ||
gen_idt.py | ||
ia32.cmake | ||
intel64.cmake | ||
Kconfig |