shared lib problem

Dawid Gajownik gajownik at fedora.pl
Thu Feb 9 14:19:37 UTC 2006


Dnia 02/09/2006 10:47 AM, Użytkownik Junji Kanemaru napisał:
> Actually, it worked with texrel_shlib_t. Don't know if it is right
> solution or not... 

It's just a workaround. It would be better to get rid of text 
relocations because they're evil ;)
http://thread.gmane.org/gmane.linux.gentoo.devel/33992
http://article.gmane.org/gmane.linux.gentoo.devel/34037

> There are no writable variables in shared libraries but almost all
> code have been written in C++.

This can be a bug in gcc:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175275
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175442
or you missed -fpic/-fPIC option when compiling your coftware

http://www.gentoo.org/proj/en/hardened/pic-guide.xml
http://www.gentoo.org/proj/en/hardened/pic-internals.xml
http://www.gentoo.org/proj/en/hardened/pic-fix-guide.xml

Hope that helps.

Regards,
	Dawid

-- 

   ^_*





More information about the fedora-selinux-list mailing list