#258 closed defect (fixed)
Mplayer binary is marked PT_GNU_STACK RWE
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | core |
Version: | 1.0pre6 | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
The mplayer binary is marked PT_GNU_STACK RWE when compiled with binary codecs
support. This results in problems when running mplayer in an environment which
places restrictions against executable stack. One such environment is the
SElinux strict policy, part of Fedora Core.
It was concluded on mplayer-list that executable stack should not be required,
for binary codecs which are maintained (since they wouldn't work with
an enhanced version of windows with non-exec stack). The attached patch was
proposed to fix the problem, and has yet to be integrated, I believe.
A complaint was raised that a configure check is needed to verify
whether this flag is supported.
Also consider ld on Linux:
-z KEYWORD Ignored for Solaris compatibility
Attachments (1)
Change History (6)
by , 20 years ago
Attachment: | noexecstack.diff added |
---|
comment:1 by , 20 years ago
comment:2 by , 20 years ago
I tested this patch on a i386 NX-bit enabled AMD-64, and there are just no
problem with it.
comment:3 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Applied to get it some testing.
comment:4 by , 20 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Reversed due to portability problems with at least MacOSX and Solaris 9
comment:5 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Implemented via a more portable configure check, hope it will stay in this time *g*
The proposed patch