mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-04-19 22:10:19 +02:00
added testing instructions
This commit is contained in:
parent
0abbac5eed
commit
7ba3681b0b
1 changed files with 9 additions and 0 deletions
|
@ -83,6 +83,8 @@ be supported, which currently means `android10-release`.
|
||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
|
|
||||||
|
### Individual Applications
|
||||||
|
|
||||||
The `preload.sh` script can be used for testing with dynamically linked
|
The `preload.sh` script can be used for testing with dynamically linked
|
||||||
executables using glibc or musl:
|
executables using glibc or musl:
|
||||||
|
|
||||||
|
@ -102,6 +104,13 @@ this allocator offers across different size classes. The intention is that this
|
||||||
will be offered as part of hardened variants of the Bionic and musl C standard
|
will be offered as part of hardened variants of the Bionic and musl C standard
|
||||||
libraries.
|
libraries.
|
||||||
|
|
||||||
|
### Automated Test Framework
|
||||||
|
|
||||||
|
A collection of simple, automated tests are provided and can be run with the
|
||||||
|
make command as follows:
|
||||||
|
|
||||||
|
make test
|
||||||
|
|
||||||
## Compatibility
|
## Compatibility
|
||||||
|
|
||||||
OpenSSH 8.1 or higher is required to allow the mprotect PROT_READ|PROT_WRITE system calls in the seccomp-bpf filter rather than killing the process.
|
OpenSSH 8.1 or higher is required to allow the mprotect PROT_READ|PROT_WRITE system calls in the seccomp-bpf filter rather than killing the process.
|
||||||
|
|
Loading…
Add table
Reference in a new issue