Skip to content

Commit

Permalink
Vm ci fixnetbsd (#592)
Browse files Browse the repository at this point in the history
* Disable PAL access enforcing on netbsd

* Clangformat

---------

Co-authored-by: Matthew Parkinson <mattpark@microsoft.com>
  • Loading branch information
devnexen and mjp41 authored Feb 20, 2023
1 parent 50cb8b8 commit b357165
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/snmalloc/pal/pal_consts.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b357165

Please sign in to comment.