mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-29 03:02:34 -04:00
memtag_test: add test for MADV_DONTNEED behavior
This commit is contained in:
parent
7d2151e40c
commit
5fbbdc2ef8
3 changed files with 47 additions and 0 deletions
|
@ -71,4 +71,9 @@ public class MemtagTest extends BaseHostJUnit4Test {
|
|||
public void untagged_write() throws DeviceNotAvailableException {
|
||||
runTest("untagged_write");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void madvise_dontneed() throws DeviceNotAvailableException {
|
||||
runTest("madvise_dontneed");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue