Bug#793320: more information
Russell Coker
russell at coker.com.au
Wed Sep 9 12:11:50 UTC 2015
execstack -c /usr/lib/x86_64-linux-gnu/libwavpack.so.1.1.6
The executable stack flag can be cleared with the above command. After that
mplayer works on a SE Linux system in enforcing mode. It could be that there
is some code path in this shared object that isn't called by mplayer that
requires an executable stack, but it seems unlikely.
.section .note.GNU-stack,"", at progbits
I built that package with the above line added at the start of each assembler
file to instruct the linker that the assembly code didn't require an
executable stack (I've attached a patch).
With that patch the library works as desired in enforcing mode.
The problem is that the assembler/linker considers that all assembly code
needs an executable stack by default when really hardly code needs it,
especially on AMD64.
--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: execstack.diff
Type: text/x-patch
Size: 1979 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20150909/d1231627/attachment.bin>
More information about the pkg-multimedia-maintainers
mailing list