RPM Community Forums

Mailing List Message of <rpm-devel>

Re: SELinux & -lrpmmisc text relocations

From: Jeff Johnson <n3npq@mac.com>
Date: Sun 26 Oct 2008 - 23:06:05 CET
Message-id: <C4440495-E234-45E2-BAB1-5A424009DF89@mac.com>

On Oct 26, 2008, at 5:06 PM, Jeff Johnson wrote:

>
> On Oct 26, 2008, at 3:17 PM, Jeff Johnson wrote:
>
>>
>> Isn't selinux funner?
>>
>
> Actually, removing a TEXTRELOC isn't too bad these days, it used to  
> be far far worse.
>
> Here's at least the 1st approximation of what needs fixing:
>
> 	$ eu-findtextrel /usr/lib/librpmmisc-5.0.so
> 	/X/src/wdj51/lua/lauxlib.c not compiled with -fpic/-fPIC
> 	/X/src/wdj51/lua/lapi.c not compiled with -fpic/-fPIC
>
> todo++

I spoke to soon.

Both of those files __ARE__ compiled with -fPIC -DPIC -fpie.

Neither of those files has asm inside afaict.

I even tried -fPIE, and removing the duplicated -g -O2 ... -O0 -g3  
flags w no luck.

So the lua -> rpmmisc TEXTREL issue will have to wait until I (or  
someone else)
digs out the gory details.

(aside)
I'm gonna be a less than happy developer if I find that rpm.org is  
permitted TEXTREL
exceptions but rpm5.org is not through Fedora SELinux policy. All I  
ask is a fair
playing field ...

73 de Jeff
Received on Sun Oct 26 23:06:08 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.