This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: stack guard updating source


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]