criu/compel
Michał Cłapiński 2ec05a0563 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>
2020-11-08 01:55:25 -08:00
..
arch compel: don't mmap parasite as RWX 2020-11-08 01:55:25 -08:00
include compel: don't mmap parasite as RWX 2020-11-08 01:55:25 -08:00
plugins compel: rewrite parasite cmd and args manipulation from assembly to C 2020-10-20 00:18:24 -07:00
src compel: don't mmap parasite as RWX 2020-11-08 01:55:25 -08: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