criu/compel/include/uapi
Michał Cłapiński 70c8c12c64 compel: don't mmap parasite as RWX
Some kernels have W^X mitigation, which means they won't execute memory
blocks if that memory block is also writable or ever was writable. This
patch enables CRIU to run on such kernels.

1. Align .data section to a page.
2. mmap a memory block for parasite as RX.
3. mprotect everything after .text as RW.

Signed-off-by: Michał Cłapiński <mclapinski@google.com>
2021-09-03 10:31:00 -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: don't mmap parasite as RWX 2021-09-03 10:31:00 -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