restorer: Make sure the protection on code/data mm areas do fit the kernel requirements
When set up mm::code/data addresses the kernel expects the correspond VMAs to have predefined protection, but task might have dropped or mprotected those VMAs at moment of checkpoint. So just setup fake VMAs, call prctl and munmap them immediately. Signed-off-by:Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
Showing
Please
register
or
sign in
to comment