How to package execute-on-stack programs?

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Thu Aug 28 13:13:44 UTC 2003


Hello,

what is the way to package programs which are containing code which will
be executed on stack? Since this "feature" conflicts with exec-shield,
the package-build may fail in the %check stage, or on the user-side.

A program suffering from this is qemu[1]; I tried the chstk tool[2], but
it fails with

| ./qemu: Unknown file type

which is probably caused by a "strange" (but required) linking.


I read the RELEASE-NOTES also which state that

|       NOTE: Binary marking (the ability to identify those binaries that
|       should run with Exec-shield enabled/disabled) is not yet implemented.


Does there exist a clean way to mark execute-on-stack programs in the
meantime?



Enrico

Footnotes: 
[1]  http://fabrice.bellard.free.fr/qemu/
     https://bugzilla.fedora.us/show_bug.cgi?id=623

[2]  http://people.redhat.com/mingo/exec-shield/chstk.c





More information about the fedora-devel-list mailing list