Skip to content

Commit

Permalink
Fixes courtesy @jrtc27.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwatson committed Nov 29, 2023
1 parent 2058c8d commit f35742f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/features/c18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ cc -Wall -g -o helloworld helloworld.c -Wl,--dynamic-linker=/libexec/ld-elf-c18n
```

You can confirm whether a binary uses the c18n run-time linker by inspecting
its `INTERP` field using the `readelf -l` command:
it using the `file` command:

```
readelf -l helloworld
file helloworld
```

## Tracing compartment-boundary crossings
Expand Down Expand Up @@ -105,7 +105,7 @@ important part of compartmentalization, internal software APIs are rarely well
suited to be security boundaries without performing additional hardening.
With this in mind:

* Inspect the source code, ouput from `objdump`, and output from
* Inspect the source code, output from `objdump`, and output from
`chericat` to assess the robustness of this compartmentalization.
* Consider larger software architectural changes that will allow a library
to be used more robustly when running within a computerment.
Expand Down
6 changes: 4 additions & 2 deletions src/features/temporal.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ boot loader before any user processes start.

## Controlling revocation by binary or process


You can forcefully enable or disable revocations for a specific binary or
process
with
Expand Down Expand Up @@ -71,7 +70,10 @@ revocation:
malloc_revoke();
```

Note that this can incur significant expense.
Synchronous revocation on every call to `free()` can be configured using the
`_RUNTIME_REVOCATION_EVERY_FREE_ENABLE` environmental variable.

Note that synchronous revocation can incur extremely high expense.

## Monitoring revocation in processes

Expand Down

0 comments on commit f35742f

Please sign in to comment.