[CRIU] [PATCH 0/4] prctl: Use new kernel interface if possible

Cyrill Gorcunov gorcunov at openvz.org
Fri Oct 10 04:09:34 PDT 2014


Finally new prctl interface is about to hit the vanilla kernel,
lets move it into the criu.

Cyrill Gorcunov (4):
  prctl: Add new interface constants
  prctl: kerndat -- Add kerndat_prctl_may_use_mm_map helper
  prctl: check -- Use kerndat_prctl_may_use_mm_map helper
  prctl: restore -- Use new PR_SET_MM_MAP if kernel supports

 cr-check.c         | 36 ++++++++++++++++---------------
 cr-restore.c       |  2 ++
 include/kerndat.h  |  2 ++
 include/prctl.h    | 24 +++++++++++++++++++++
 include/restorer.h |  1 +
 kerndat.c          | 18 ++++++++++++++++
 pie/restorer.c     | 63 ++++++++++++++++++++++++++++++++++++------------------
 7 files changed, 108 insertions(+), 38 deletions(-)

-- 
1.9.3



More information about the CRIU mailing list