Skip to content

Commit

Permalink
Disable PAL access enforcing on netbsd
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Feb 13, 2023
1 parent aeee2bb commit 73db7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snmalloc/pal/pal_consts.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ 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;
Expand Down

0 comments on commit 73db7c4

Please sign in to comment.