[CRIU] Re: [PATCH] prctl: add ability to get clear_tid_address

Cyrill Gorcunov gorcunov at openvz.org
Thu Feb 16 15:35:35 EST 2012


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?

	Cyrill


More information about the CRIU mailing list