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: [PATCH 14/17 v5] Avoid stack-protecting signal-handling functions sibcalled from assembly.


On 03/13/2016 04:16 PM, Nix wrote:
Certain signal-handling functions are sibcalled from assembly on
x86, both on Linux and the Hurd.  As such, they depend on having
the same-shaped stack frame, an assumption it seems likely that
-fstack-protector violates.

I think that's not actually true for tail calls to stack-protector-enabled functions from those who are not so enabled.

The lack of rebuild is more problematic. Does it really make a difference, considering that the affected function is not active while we initialize the stack guard value?

Thanks,
Florian


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