X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fvalidate.c;h=d88d17df03dc98828b0aa25b360b060b18005f54;hb=c3699db2053ff3b5ac6a98d4431c3789496002d8;hp=6d768039665d7056b683ad90d55bb034e83369de;hpb=1419c1d2d50f039be46a8667351b7738ac4965e4;p=sbcl.git diff --git a/src/runtime/validate.c b/src/runtime/validate.c index 6d76803..d88d17d 100644 --- a/src/runtime/validate.c +++ b/src/runtime/validate.c @@ -72,9 +72,6 @@ validate(void) 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(); @@ -86,11 +83,9 @@ validate(void) } 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 }