[CRIU] vdso and vvar ordering

Pavel Emelyanov xemul at parallels.com
Tue Jul 1 11:39:54 PDT 2014


On 07/01/2014 10:38 PM, Cyrill Gorcunov wrote:
> On Tue, Jul 01, 2014 at 10:31:50AM -0700, Andy Lutomirski wrote:
>> Hi-
>>
>> This commit:
>>
>> http://git.criu.org/?p=criu.git;a=commit;h=fe7b8aeb8c65e11e190282aae8db2d2bebd4f6e9
>>
>> says that it expects the vvar area to follow the vdso.  Any chance you
>> could make it keep working if the vvar area is immediately before the
>> vdso?  I kind of want to flip the order.
>>
>> This isn't out of malice or any aesthetic consideration -- it turns
>> out that reliably building a vdso image that keep gdb happy and has
>> the vvar area immediately after the vdso is considerably harder than I
>> expected.  Reversing it is IMO ugly, but it will be easier to
>> construct the ELF image.
>>
>> I've gotten a report that at least one binutils version can't build
>> 3.16-rc3 as a result.  Grr.
> 
> Sure, no problem, just CC me on the commit which does that in kernel.

Cyrill, why not just get the vvar area in whatever location it
appears to be?

Thanks,
Pavel




More information about the CRIU mailing list