Re: Selinux

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

 



On Sun, 1 May 2011 19:58:36 -0400
Tom Horsley wrote:

> On Mon, 2 May 2011 00:49:33 +0100 (BST)
> Patrick Dupre wrote:
> 
> > The file ttt.so is generate by myself in user mode and I cannot access it.
> > This strange !!
> > how can I get rid of this problem ?
> 
> I've seen something like this before. I believe you have to
> add some flags when linking to mark the object file as
> promising not to execute on the stack. The default linker
> options don't do this, so selinux assumes the worst.
> 
> I'm afraid I don't remember the details of how you add those
> flags though.

Found a good page on this. I bet you have some assembly code
as part of your library, and the source is missing the magic
voo-doo to promise never to execute the stack, so they
taint the whole object file.

Here's a good reference (a gentoo page, but not really
gentoo specific):

http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
-- 
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