linux-next/tools/testing/vma
Lorenzo Stoakes b931c5329e tools: testing: add simple __mmap_region() userland test
Introduce demonstrative, basic, __mmap_region() test upon which we can
base further work upon moving forwards.

This simply asserts that mappings can be made and merges occur as
expected.

As part of this change, fix the security_vm_enough_memory_mm() stub which
was previously incorrectly implemented.

Link: https://lkml.kernel.org/r/20241213162409.41498-1-lorenzo.stoakes@oracle.com
Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Jann Horn <jannh@google.com>
Cc: Liam R. Howlett <Liam.Howlett@Oracle.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-12-18 19:51:07 -08:00
..
linux
.gitignore
Makefile tools: improve vma test Makefile 2024-09-03 21:15:53 -07:00
vma_internal.h tools: testing: add simple __mmap_region() userland test 2024-12-18 19:51:07 -08:00
vma.c tools: testing: add simple __mmap_region() userland test 2024-12-18 19:51:07 -08:00