[CRIU] [PATCH] dump: Make sure we're not dumping unsupported task

Pavel Emelyanov xemul at parallels.com
Thu Feb 14 03:06:46 EST 2013


On 02/14/2013 12:39 AM, Cyrill Gorcunov wrote:
> On Thu, Feb 14, 2013 at 12:21:34AM +0400, Pavel Emelyanov wrote:
>> On 02/13/2013 08:49 PM, Cyrill Gorcunov wrote:
>>> Ping?
>> Sorry.
>>
>> Checking for task bitness by its auxv size is ... ugly.
> 
> The kernel doesn't provide other interface as far as I know
> in case of x86-32 task running on x86-64 node (there is a
> couple of tricks which could be used to figure that out
> but they are ugly). I'll try to talk to a knowing person
> about that, will report.

AFAIK we can check for cs/ds values in regsets to distinguish that.

> Still you can apply this patch at least for a while.
> It's a far better than nothing.
> .
> 




More information about the CRIU mailing list