we do not need executable stacks anymore :-)
This commit is contained in:
parent
3203d53a83
commit
385d14ef67
1 changed files with 1 additions and 6 deletions
|
@ -104,12 +104,7 @@ uint32_t get_highest_priority(void)
|
|||
*/
|
||||
static void* create_stack(void)
|
||||
{
|
||||
/*
|
||||
* TODO: our stack should be non-executable!
|
||||
* We need this atm because nested functions in page64.c
|
||||
* are using trampolines on the stack.
|
||||
*/
|
||||
return palloc(KERNEL_STACK_SIZE, MAP_CODE);
|
||||
return palloc(KERNEL_STACK_SIZE, MAP_KERNEL_SPACE);
|
||||
}
|
||||
|
||||
/** @brief Delete stack of a finished task
|
||||
|
|
Loading…
Add table
Reference in a new issue