Re: Selinux

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

 



On Sunday, May 01, 2011 20:00:51 Patrick Lists wrote:
> On 05/02/2011 01:49 AM, Patrick Dupre wrote:
> > cannot restore segment prot after reloc
> 
>  From a little googling I understand this should fix the error:
> 
> chcon -t texrel_shlib_t 
> /home/pdupre/Spectroscopy/test/blib/arch/auto/ttt/ttt.so
> 
> Iirc the actual fix has something to do with compiler flags and not 
> touching the stack (or something like that).

Your work-around will get it done, but...

Dont't do that.  Make a position independent library so relocation is
not needed.

Compile with -fpic and you won't require relocation.

By the way, this has nothing to do with execution on the stack.

-- 
Garry Williams
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux