[CRIU] [PATCHv2 0/5] Disallow undefined symbols in PIE

Dmitry Safonov dsafonov at virtuozzo.com
Fri Sep 16 11:37:09 PDT 2016


  Patches set aborts build if there is any undefined symbol
in parasite/restorer blobs. That's good as if we keep silently
continue building, those problems will be at runtime. Which
makes it harder to investigate what goes wrong.

Changes to v2:
Fix spotted by the patch problems.

Dmitry Safonov (5):
  parasite/x86: introduce&use builtin_memset
  make/x86: get cflags for ia32 from compel tool
  pie: provide callbacks for stack-protector
  parasite-vdso: vdso_map_compat under CONFIG_COMPAT
  compel: abort PIE generation on undefined/external symbols

 compel/handle-elf.c                  |  3 ++-
 criu/arch/x86/include/asm/parasite.h |  4 +++-
 criu/include/asm-generic/string.h    | 11 +++++++++++
 criu/pie/Makefile                    |  5 ++++-
 criu/pie/parasite-vdso.c             |  2 +-
 criu/pie/parasite.c                  | 20 ++++++++++++++++++--
 criu/pie/restorer.c                  | 11 +++++++++++
 7 files changed, 50 insertions(+), 6 deletions(-)

-- 
2.9.0



More information about the CRIU mailing list