[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGXu5jJq5yQDadMpRasXNOV3=auRF5WbyyEf3bodf42veg9F0g@mail.gmail.com>
Date: Mon, 19 Mar 2012 09:51:36 -0700
From: Kees Cook <keescook@...omium.org>
To: Cyrill Gorcunov <gorcunov@...nvz.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Oleg Nesterov <oleg@...hat.com>,
KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
Pavel Emelyanov <xemul@...allels.com>,
Tejun Heo <tj@...nel.org>, Matt Helsley <matthltc@...ibm.com>,
Andrew Vagin <avagin@...nvz.org>,
Pedro Alves <palves@...hat.com>
Subject: Re: [patch 2/2] c/r: prctl: Add ability to get clear_tid_address
On Fri, Mar 16, 2012 at 1:55 PM, Cyrill Gorcunov <gorcunov@...nvz.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@...omium.org>
-Kees
--
Kees Cook
ChromeOS Security
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists