criu/compel/include/uapi
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
..
asm compel: make include/uapi/asm symlink permanent 2017-03-15 00:09:56 +03:00
common compel: uapi -- Add common symlink 2017-03-15 00:06:12 +03:00
compel compel: make include/uapi symlink permanent 2017-03-15 00:09:55 +03:00
cpu.h compel/criu: Add __must_check 2020-02-04 12:39:04 -08:00
handle-elf.h mips:compel: Enable mips in compel/ 2020-10-20 00:18:24 -07:00
infect-rpc.h compel/criu: Add __must_check 2020-02-04 12:39:04 -08:00
infect-util.h compel/criu: Add __must_check 2020-02-04 12:39:04 -08:00
infect.h compel: allocate the GOT table to avoid memory corruption 2020-10-20 00:18:24 -07:00
ksigset.h compel/ksigset: fix ksigaddset() UB and flushing mask 2017-03-15 09:36:09 +03:00
log.h compel/uapi: add prefix to log levels 2017-03-15 09:36:06 +03:00
loglevels.h compel/uapi: add prefix to log levels 2017-03-15 09:36:06 +03:00
plugins compel: Include compel headers as system ones 2017-03-15 00:06:02 +03:00
plugins.h compel: Add plugins header 2017-03-14 23:58:09 +03:00
ptrace.h compel/criu: Add __must_check 2020-02-04 12:39:04 -08:00
sigframe-common.h compel/criu: Add __must_check 2020-02-04 12:39:04 -08:00
task-state.h Sanitize TASK_ values 2017-03-15 09:36:05 +03:00