criu/compel/include
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
..
uapi compel: don't mmap parasite as RWX 2021-09-03 10:31:00 -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