Merge pull request #193 from nwf/aal-strict-provenance

Introduce AAL StrictProvenance flag, factor CDLList
This commit is contained in:
Matthew Parkinson
2020-05-21 17:09:54 +01:00
committed by GitHub
2 changed files with 70 additions and 28 deletions

View File

@@ -36,6 +36,12 @@ namespace snmalloc
* This architecture cannot access cpu cycles counters.
*/
NoCpuCycleCounters = (1 << 1),
/**
* This architecture enforces strict pointer provenance; we bound the
* pointers given out on malloc() and friends and must, therefore retain
* internal high-privilege pointers for recycling memory on free().
*/
StrictProvenance = (1 << 2),
};
/**