From b357165385f014432143e385f7bceff24488f602 Mon Sep 17 00:00:00 2001 From: David CARLIER Date: Mon, 20 Feb 2023 15:06:26 +0000 Subject: [PATCH] Vm ci fixnetbsd (#592) * Disable PAL access enforcing on netbsd * Clangformat --------- Co-authored-by: Matthew Parkinson --- src/snmalloc/pal/pal_consts.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/snmalloc/pal/pal_consts.h b/src/snmalloc/pal/pal_consts.h index 6ea5b36..dde946d 100644 --- a/src/snmalloc/pal/pal_consts.h +++ b/src/snmalloc/pal/pal_consts.h @@ -21,7 +21,8 @@ namespace snmalloc * read/write, for added excitement). For the moment, just force this down on * CHERI. */ -#if defined(SNMALLOC_CHECK_CLIENT) && !defined(__CHERI_PURE_CAPABILITY__) +#if defined(SNMALLOC_CHECK_CLIENT) && !defined(__CHERI_PURE_CAPABILITY__) && \ + !defined(__NetBSD__) static constexpr bool PalEnforceAccess = true; #else static constexpr bool PalEnforceAccess = false;