if (mprotect(stack, smx_context_guard_size, PROT_NONE) == -1) {
XBT_WARN("Failed to protect stack: %s", strerror(errno));
/* That's not fatal, pursue anyway. */
}
if (mprotect(stack, smx_context_guard_size, PROT_NONE) == -1) {
XBT_WARN("Failed to protect stack: %s", strerror(errno));
/* That's not fatal, pursue anyway. */
}