[CRIU] Re: [PATCH] prctl: add ability to get clear_tid_address
Pavel Emelyanov
xemul at parallels.com
Fri Feb 17 07:12:55 EST 2012
On 02/17/2012 12:35 AM, Cyrill Gorcunov wrote:
> On Thu, Feb 16, 2012 at 11:31:12PM +0300, Andrew Vagin wrote:
>> Zero is written at clear_tid_address, when the process exits.
>> This functionality is used by pthread_join().
>>
>> sys_set_tid_address() changes this address for current task.
>>
>> Before this patch clear_tid_address could not be got from user space.
>> I want to dump a full state of a task, so I need this address.
>>
>> Signed-off-by: Andrew Vagin <avagin at openvz.org>
>> ---
>
> Andrew, what the conslusion was on LKML? We stick with prctl
> instead of ptrace, right? And I should pick this patch ASAP?
Pull in as is. When lkml wishes will be resolved Andrey will rewrite.
> Cyrill
>
More information about the CRIU
mailing list