This is the mail archive of the
mailing list for the glibc project.
[Bug dynamic-link/20480] Patch: ifunc not executable, crashes sudo qemu
- From: "adam_richter2004 at yahoo dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 18 Aug 2016 17:36:54 +0000
- Subject: [Bug dynamic-link/20480] Patch: ifunc not executable, crashes sudo qemu
- Auto-submitted: auto-generated
- References: <email@example.com/bugzilla/>
--- 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.