Skip to content

Commit

Permalink
AAL: new StrictProvenance feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
nwf committed May 20, 2020
1 parent 958de73 commit 9323dff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/aal/aal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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),
};

/**
Expand Down

0 comments on commit 9323dff

Please sign in to comment.