[CRIU] [PATCH 3/3] arm64: detect vDSO remaps

Cyrill Gorcunov gorcunov at gmail.com
Tue Mar 11 03:51:38 PDT 2014


On Mon, Mar 10, 2014 at 02:00:48PM +0400, Alexander Kartashov wrote:
> This patch introduces the routine vdso_mapping_open() that
> intercepts vDSO VMA remappings and adjusts the pointer
> to the vDSO base accordingly.
> 
> Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>

Alexander, there is aspect I don't understand (you might be explaining
me but I start to doubt again). Here is what we have on x86-64

 - once proceess starts up the kernel provides vDSO area for it
 - if such vdso area intersects with image addresses we
  - remap runtime vdso to a new free address with MAP_FIXED
  - map old vDSO from image to original address then proxify it if needed

how it's different from ARM64?


More information about the CRIU mailing list