From: guido@trentalancia.com (Guido Trentalancia) Date: Thu, 10 Mar 2011 16:25:50 +0100 Subject: [refpolicy] [PATCH 06/15] Add firefox file contexts for binary installations In-Reply-To: <20110310133705.GB12988@siphos.be> References: <20110309211238.GA4704@siphos.be> <1299710378.2974.26.camel@tesla.lan> <4D788B5E.9060308@gmail.com> <1299758523.4243.17.camel@tesla.lan> <20110310133705.GB12988@siphos.be> Message-ID: <1299770750.2990.2.camel@tesla.lan> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On Thu, 10/03/2011 at 14.37 +0100, Sven Vermeulen wrote: > On Thu, Mar 10, 2011 at 01:02:03PM +0100, Guido Trentalancia wrote: > > Plain F14 policy has text relocations for libxul.so but does that > > privately. Text relocations are bad if they can be avoided and usually > > that is the case. Now we have at least two confirmed cases that this is > > possible (me and you)... > > I believe that the textrel_shlib_t is needed if you use the 32-bit binary > distribution as offered by Mozilla (for firefox), not if it is built from > source. Perhaps someone could drop a note to mozilla.org ? When I build it, I don't even need to pass the -fPIC flag and it does not require text relocations... > I'll build a firefox here and give feedback. > > In any case, you're correct in that textrel_shlib_t contexts should be > considered in the libraries.fc one instead. But I'll first see if I can > confirm if it is always necessary or only in particular situations. > > Wkr, > Sven Vermeulen > _______________________________________________ > refpolicy mailing list > refpolicy at oss.tresys.com > http://oss.tresys.com/mailman/listinfo/refpolicy >