criu/compel/include
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
..
uapi compel: allocate the GOT table to avoid memory corruption 2020-10-20 00:18:24 -07:00
compel-cpu.h compel: fpu -- Add compel_test_fpu_cap helper 2018-10-30 19:27:55 +03:00
elf32-types.h compel: Reshuffle the directories structure 2017-03-14 23:58:09 +03:00
elf64-types.h compel: Reshuffle the directories structure 2017-03-14 23:58:09 +03:00
errno.h infect: Move errno.h to compel 2017-03-15 00:06:01 +03:00
infect-priv.h compel: remove "addr_" from offset variable names 2020-10-20 00:18:24 -07:00
log.h compel: Remove compel.h 2020-03-27 19:36:20 +03:00
piegen.h compel hgen: drop -u option 2017-03-15 00:06:17 +03:00
ptrace.h compel: return ptrace area helpers back to uapi 2017-04-02 18:12:10 +03:00
rpc-pie-priv.h compel/criu: Add ARCH_HAS_LONG_PAGES to PIE binaries 2018-07-04 03:17:17 +03:00
shmem.h compel: plugins -- Add shmem plugin 2017-03-14 23:58:09 +03:00