AAL: new StrictProvenance feature flag

This commit is contained in:
Nathaniel Filardo
2020-05-20 20:21:11 +00:00
parent 47e2c642bd
commit 4b7ee7808b

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),
};
/**