Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116499 - app-emulation/qemu-softmmu-0.8.0 - executable stacks
Summary: app-emulation/qemu-softmmu-0.8.0 - executable stacks
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-23 08:49 UTC by Michael Cramer
Modified: 2007-04-01 23:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Cramer 2005-12-23 08:49:02 UTC
QA Notice: the following files contain executable stacks
 Files with executable stacks will not work properly (or at all!)
 on some architectures/operating systems.  A bug should be filed
 at http://bugs.gentoo.org/ to make sure the file is fixed.
RWX --- RWX usr/share/qemu/proll.elf
Comment 1 Luca Barbato gentoo-dev 2005-12-23 13:25:50 UTC
false positive, sorry
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-12-26 06:06:19 UTC
Re-assigning...
Comment 3 solar (RETIRED) gentoo-dev 2005-12-26 08:34:51 UTC
/usr/share/qemu/proll.elf lacks a PT_GNU_STACK marking thus ld.so will load this 
as eXecutable on everything but PaX enabled systems.
Comment 4 solar (RETIRED) gentoo-dev 2005-12-26 08:35:52 UTC
Which is probably also correct that it be loaded as eXecutable seeing as it has a 
RWX PT_LOAD which is even worse.
Comment 5 solar (RETIRED) gentoo-dev 2005-12-26 08:38:17 UTC
That binary seems to not be built using a gentoo system. poking at the ELF 
innards we can see it was built with GCC: (GNU) 2.95.4 20010319 (prerelease)
which probably explains the crappy PT_LOAD segment.
Anyway this bin can be built on a gentoo system? Is it a binary only elf?
Comment 6 SpanKY gentoo-dev 2005-12-27 00:21:56 UTC
if your package actually needs executable stacks, you can put 'RESTRICT=stricter' in your ebuild and it will not abort

but as to whether this is such a case, i dont know as you didnt really explain why this is a "false positive"
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-04-01 23:16:34 UTC
>=0.8.2-r1 is using the QA_* variables to supress these warnings, and that's about it. Closing.