summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--malloc/arena.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/malloc/arena.c b/malloc/arena.c
index 85cc2ad066..c63cb70f74 100644
--- a/malloc/arena.c
+++ b/malloc/arena.c
@@ -327,6 +327,7 @@ ptmalloc_init (void)
#endif
#ifdef __CHERI_PURE_CAPABILITY__
+ __always_fail_morecore = true;
if (TUNABLE_GET_FULL (glibc, mem, cap_narrowing, int32_t, NULL) == 0)
cap_narrowing_enabled = false;
else