This is the mail archive of the 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

--- Comment #4 from Adam J. Richter <adam_richter2004 at yahoo dot com> ---
Created attachment 9454
Stack trace of qemu-2.6.0 on i686-pc-linux-gnu with disassembly of the function
in the nonexecuable area that is about to be called, which will thereby
generate a SIGSEGV

Here is the stack trace with disassembly that you requested.

By the way, this time, the first instruction of the function in the
non-executable area generated a SIGSEGV, instead of the second instruction, as
I previously recalled (the "pushl $ebx" instruction at the start of
__x86.get_pc_thunk.bx).  Although it is possible that that discrepancy was
caused by some minor kernel bug that sporadically allows a few instructions to
execute, such as perhaps a bug in mprotect on i386 related to instruction
caching when PROT_EXEC goes from being set to cleared, I suspect I probably was
just wrong in my recollection of that detail and may have accidentally been
reading a trace of the non-failing (non-setuid) case.

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]