Re: shared lib problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--

  ^_*


--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux