[MPlayer-dev-eng] Mplayer: PT_GNU_STACK RWE
mplayer at netfarm.it
Wed Feb 23 03:27:50 CET 2005
On Tue, Feb 22, 2005 at 09:20:12PM -0500, Ivan Gyurdiev wrote:
> (re-sending to correct mplayer list..)
> Hi, I've subscribed to this list just to post this one question.
> The mplayer/mencoder executables are marked with PT_GNU_STACK RWE.
> This is true for the RPMS which I use from Livna.org (vs FC3), and also
> for mplayer CVS, compiled with gcc 3.4.3 (default FC rawhide compiler).
> This creates problems for the SELinux strict policy, and requires that
> special privileges be granted for mplayer as a "legacy domain".
> The question is, does mplayer really require an executable stack?
> I'm not a gcc expert of any kind, but from what I've read I understand
> that asm code causes gcc to mark the binary as requiring executable
> stack. I think it can be overriden with ld -z noexecstack.
> It would be a lot easier to write the mplayer security policy
> if it didn't require executable stack.
I think it is required to use win32 dlls, but I may be wrong ;)
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
More information about the MPlayer-dev-eng