stack guard updating source

Andrew Pinski pinskia@gmail.com
Fri Oct 26 11:38:00 GMT 2012


On Fri, Oct 26, 2012 at 1:24 AM, Sergey Melnikov <sergey.devel@gmail.com> wrote:
> Is is necessary to implement guard value randomization for every
> thread? It will be more securely.

I don't think that will work correctly with things like
setcontent/getcontent and threads then.

Thanks,
Andrew


>
> 2012/10/10 Mike Frysinger <vapier@gentoo.org>:
>> On Wednesday 10 October 2012 02:12:41 Sergey Melnikov wrote:
>>> The guard value is identical for any thread, the guard value isn't
>>> thread specific.
>>
>> please re-read what Roland said.  the gs:0x14 access is purely for speed, not
>> because we want the value to be different for each thread.
>> -mike



More information about the Libc-alpha mailing list