criu/compel/test/stack
Andrei Vagin 9a1e979666 compel: fix the stack test
The stack test incorrectly assumed the page immediately
following the stack pointer could never be changed. This doesn't work,
because this page can be a part of another mapping.

This commit introduces a dedicated "stack redzone," a small guard region
directly after the stack. The stack test is modified to specifically
check for corruption within this redzone.

Signed-off-by: Andrei Vagin <avagin@gmail.com>
2025-11-02 07:42:55 -08:00
..
.gitignore compel: Add test to check parasite stack setup 2023-04-15 21:17:21 -07:00
Makefile compel: Add test to check parasite stack setup 2023-04-15 21:17:21 -07:00
parasite.c compel: Add test to check parasite stack setup 2023-04-15 21:17:21 -07:00
spy.c compel: fix the stack test 2025-11-02 07:42:55 -08:00
victim.c compel: Add test to check parasite stack setup 2023-04-15 21:17:21 -07:00