criu/compel
Nicolas Viennot 70ecbbcc86 compel: allocate the GOT table to avoid memory corruption
Previously, the GOT table was using the same memory location as the
args region, leading to difficult to debug memory corruption bugs.

We allocate the GOT table between the parasite blob and the args region.
The reason this is a good placement is:
1) Putting it after the args region is possible but a bit combersome as
the args region has a variable size
2) The cr-restore.c code maps the parasite code without the args region,
as it does not do RPC.

Another option is to rely on the linker to generate a GOT section, but I
failed to do so despite my best attempts.

Signed-off-by: Nicolas Viennot <Nicolas.Viennot@twosigma.com>
2020-10-20 00:18:24 -07:00
..
arch compel: remove x86/prologue.S 2020-10-20 00:18:24 -07:00
include compel: allocate the GOT table to avoid memory corruption 2020-10-20 00:18:24 -07:00
plugins compel: rewrite parasite cmd and args manipulation from assembly to C 2020-10-20 00:18:24 -07:00
src compel: allocate the GOT table to avoid memory corruption 2020-10-20 00:18:24 -07:00
test compel: Remove compel.h 2020-03-27 19:36:20 +03:00
.gitignore compel: adapt .gitgnore for aarch64 and ppc64le 2017-08-09 18:51:42 +03:00
compel-host compel cli: show includes 2017-03-15 00:09:55 +03:00
Makefile compel: Don't use CFLAGS_PIE for libcompel.so 2019-09-07 15:59:50 +03:00