if (addr == MAP_FAILED) {
perror("mmap");
- lose("unexpected mmap(..) failure");
+ lose("unexpected mmap(..) failure\n");
}
return addr;
/* this is lifted from linux-os.c, so violates OOAO */
*os_context_register_addr(context,reg_ALLOC) -= (1L<<63);
interrupt_handle_pending(context);
- } else if (!interrupt_maybe_gc(signal, info, context)) {
+ } else if (!cheneygc_handle_wp_violation(context, addr)) {
if(!handle_guard_page_triggered(context,addr))
interrupt_handle_now(signal, info, context);
}
sigsegv_handler);
}
+char *
+os_get_runtime_executable_path()
+{
+ return NULL;
+}