lkml.org 
[lkml]   [2012]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [patch 2/2] c/r: prctl: Add ability to get clear_tid_address
From
On Fri, Mar 16, 2012 at 1:55 PM, Cyrill Gorcunov <gorcunov@openvz.org> wrote:
> Zero is written at clear_tid_address, when
> the process exits. This functionality is used
> by pthread_join().
>
> We already have sys_set_tid_address() to change this
> address for current task but there is no way to obtain
> it from a user space.

Is it worth introducing a syscall for this just for symmetry? I
suspect not, in which case:

Acked-by: Kees Cook <keescook@chromium.org>

-Kees

--
Kees Cook
ChromeOS Security


\
 
 \ /
  Last update: 2012-03-19 17:53    [W:0.069 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site