ensure_space( (lispobj *)DYNAMIC_0_SPACE_START , DYNAMIC_SPACE_SIZE);
ensure_space( (lispobj *)DYNAMIC_1_SPACE_START , DYNAMIC_SPACE_SIZE);
#endif
-#ifdef LISP_FEATURE_C_STACK_IS_CONTROL_STACK
- ensure_space( (lispobj *) ALTERNATE_SIGNAL_STACK_START, SIGSTKSZ);
-#endif
#ifdef HOLES
make_holes();
}
void protect_control_stack_guard_page(pid_t t_id, int protect_p) {
- struct thread *th= find_thread_by_pid(t_id);
-#if 0
+ struct thread *th = find_thread_by_pid(t_id);
os_protect(CONTROL_STACK_GUARD_PAGE(th),
os_vm_page_size,protect_p ?
(OS_VM_PROT_READ|OS_VM_PROT_EXECUTE) : OS_VM_PROT_ALL);
-#endif
}