[CRIU] [PATCH 3/3] arm64: detect vDSO remaps
Cyrill Gorcunov
gorcunov at gmail.com
Tue Mar 11 23:16:55 PDT 2014
On Wed, Mar 12, 2014 at 10:15:13AM +0400, Alexander Kartashov wrote:
> >>This patch copes with this problem by adjusting the task struct
> >>when the vDSO area is remapped.
> >What a crap ;) Could you point which exactly variable in task struct
> >bound to vdso address?
>
> I'm sorry it's not task struct but mm struct but this doesn't make
> any difference. The problem initialization is this
> http://lxr.free-electrons.com/source/arch/arm64/kernel/vdso.c#L171
So we will meet the same problem on x86-32 ;) I guess we rather need
prctl extension for that which would allow to do user-space
- remap vdso into a new place (setting up mm::context.vdso to null
or something, to disable vdso handling until mm::context.vdso reassigned)
- call prctl and set up new mm::context.vdso value
need to think...
More information about the CRIU
mailing list