[FFmpeg-devel] [PATCH] split-radix FFT

Dominik 'Rathann' Mierzejewski dominik
Wed Jul 30 16:00:13 CEST 2008


On Wednesday, 30 July 2008 at 14:35, Michael Niedermayer wrote:
> On Wed, Jul 30, 2008 at 12:31:33PM +0200, Dominik 'Rathann' Mierzejewski wrote:
> > On Tuesday, 29 July 2008 at 21:20, Michael Niedermayer wrote:
> > > On Tue, Jul 29, 2008 at 09:47:40PM +0300, Uoti Urpala wrote:
> > > > On Tue, 2008-07-29 at 20:02 +0200, Michael Niedermayer wrote:
> > > > > On Tue, Jul 29, 2008 at 07:14:02PM +0300, Uoti Urpala wrote:
> > [...]
> > > > > > But my
> > > > > > question was about the distribution case. I'll rephrase it if if the
> > > > > > original wasn't clear enough:
> > > > > > You said that MANGLE helps with distributions that have a policy that
> > > > > > requires using -fPIC. How does it actually help? 
> > > > > 
> > > > > You misunderstood my intention, what i meant was MANGLE helps the users
> > > > > of the binary package of distributions as the application (ffmpeg) is faster.
> > > > > Which is an advantage for the user.
> > > > 
> > > > So you think the distros will be OK with textrels or fill fail to notice
> > > > them as long as the command line nominally says "-fPIC".
> > > 
> > > I think they will be ok with textrels.
> > > If they will fail to notice them, thats
> > > something i do not know, i suspect many of the package maintainers are
> > > subscribed and are aware of the existing textrels already since a long time.
> > 
> > Indeed. That doesn't mean it's not causing us trouble. I would certainly welcome
> > it if FFmpeg were compilable with -fPIC and produced no textrels, because then
> > it would work under SELinux current policy (I wouldn't want to relax that policy
> > just for FFmpeg). As it is, I have an bug about this issue open since last year.
> 
> I dont see how textrels could be a security issue, thus unless iam missing
> something (possible of course and i guess people will correct me at once).
> This is a bug in SELinux or its configuration.

Apparently current SELinux reference policy
(http://oss.tresys.com/files/refpolicy/refpolicy-20080702.tar.bz2) has this:

refpolicy/policy/modules/system/libraries.fc:
[...]
/usr/lib(64)?/libpostproc\.so.*         --      gen_context(system_u:object_r:textrel_shlib_t,s0)
/usr/lib(64)?/libavformat.*\.so(\.[^/]*)* --    gen_context(system_u:object_r:textrel_shlib_t,s0)
/usr/lib(64)?/libavcodec.*\.so(\.[^/]*)* --     gen_context(system_u:object_r:textrel_shlib_t,s0)
/usr/lib(64)?/libavutil.*\.so(\.[^/]*)* --      gen_context(system_u:object_r:textrel_shlib_t,s0)

So it appears textrels are no longer an issue.

Regards,
R.

-- 
MPlayer http://mplayerhq.hu | Livna http://rpm.livna.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan




More information about the ffmpeg-devel mailing list