X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fsunos-os.c;h=fdf5a086d9ea3cf924d11a359b78acd48b5d7986;hb=449088454569070e400f9f562c247bdc17cf60b5;hp=8bcddcf5b746a0009fdfd2e852409b292ff2c7bf;hpb=cf4cb9554515c59eddbde38d1cf236339c37f55f;p=sbcl.git diff --git a/src/runtime/sunos-os.c b/src/runtime/sunos-os.c index 8bcddcf..fdf5a08 100644 --- a/src/runtime/sunos-os.c +++ b/src/runtime/sunos-os.c @@ -50,9 +50,11 @@ void os_init(void) lose("sunos major version=%d (which isn't 5!)", major_version); } minor_version = atoi(name.release+2); - if ((minor_version == 8) || (minor_version == 9)) { + if ((minor_version == 8) || + (minor_version == 9) || + (minor_version == 10)) { KLUDGE_MAYBE_MAP_ANON = 0x100; - } else if (minor_version > 9) { + } else if (minor_version > 10) { FSHOW((stderr, "os_init: Solaris version greater than 9?\nUnknown MAP_ANON behaviour.\n")); lose("Unknown mmap() interaction with MAP_ANON"); } else { /* minor_version < 8 */ @@ -181,7 +183,7 @@ sigsegv_handler(int signal, siginfo_t *info, void* void_context) addr = arch_get_bad_addr(signal, info, context); if(!interrupt_maybe_gc(signal, info, context)) { - if(!handle_control_stack_guard_triggered(context,addr)) + if(!handle_guard_page_triggered(context,addr)) interrupt_handle_now(signal, info, context); } }