Vm ci fixnetbsd (#592)

* Disable PAL access enforcing on netbsd

* Clangformat

---------

Co-authored-by: Matthew Parkinson <mattpark@microsoft.com>
This commit is contained in:
David CARLIER
2023-02-20 15:06:26 +00:00
committed by GitHub
parent 50cb8b88fe
commit b357165385

View File

@@ -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;