Skip to content

Commit e74dc54

Browse files
committed
Mention that bounds shouldn't permit access to allocator metadata.
1 parent 767e794 commit e74dc54

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/allocators/allocator-guarantees.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ properties:
1010
* Is valid (i.e., with its tag bit set)
1111
* Is unsealed
1212
* Has bounds that permit access to the full requested range of the allocation
13-
* Has bounds that do not permit access to any other current allocation,
14-
implementing non-aliasing spatial safety
13+
* Has bounds that do not permit access to any other current allocation, nor
14+
allocator metadata, implementing non-aliasing spatial safety
1515
* Has permissions that allow data load, data store, capability load, and
1616
capability store
1717
* Be sufficiently aligned to allow capability loads and stores at relative

src/allocators/caller-guarantees.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Calls to `malloc()` and `calloc() must return capabilities that:
1111
* Are unsealed
1212
* Have bounds that permit access to the full requested memory range of the
1313
allocation
14-
* Have bounds that do not permit access to any other current allocations,
15-
implementing non-aliasing spatial safety
14+
* Have bounds that do not permit access to any other current allocation, nor
15+
allocator metadata, implementing non-aliasing spatial safety
1616
* Have permissions that allow data load, data store, capability load, and
1717
capability store
1818
* Are sufficiently aligned to allow capability loads and stores at relative

0 commit comments

Comments
 (0)