This is the mail archive of the glibc-bugs@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]

[Bug dynamic-link/20480] Patch: ifunc not executable, crashes sudo qemu


https://sourceware.org/bugzilla/show_bug.cgi?id=20480

--- Comment #10 from Adam J. Richter <adam_richter2004 at yahoo dot com> ---
I should also correct my statement about when the problem occurs.  To produce
the proboem, it is also necessary to compile the example with "-fPIE" and link
it with "-pie".  I am not sure why that is.

So, the failing case is: ifunc + DT_TEXTREL + PIE + Linux setuid descendant.

I suppose that makes the failure rarer, although I imagine that adoption is
also increasing for the the position independent execution security feature. 
So, I would still recommend integrating the partial fix I submitted unless and
until someone comes up with something better.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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