Skip to content

Commit

Permalink
fixup! CapableVMs: Disable revocation to unblock CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbramley committed Jan 12, 2024
1 parent af73ba5 commit cc12483
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/WTF/wtf/ContinuousArenaMalloc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ void ContinuousArenaMalloc::initialize(void) {

s_Mutex = new Mutex();

#if __has_feature(capabilities)
// CheriBSD revocation does not support MALLOCX_ARENA.
// See: https://man.cheribsd.org/cgi-bin/man.cgi/mrs
ASSERT(!malloc_is_revoking());
#endif

void *area_start = mmap(NULL, k_AreaSize,
PROT_NONE | PROT_MAX(PROT_READ | PROT_WRITE),
MAP_GUARD | MAP_ALIGNED(k_LgAreaSize),
Expand Down

0 comments on commit cc12483

Please sign in to comment.