seLinux: how do I avoid this error



I am writing an application for fedora cora 5 that loads a DLL. When
seLinux is enabled, I get the following error from the attempt to load
the DLL:

"cannot restore segment prot after reloc: Permission denied"

I have searched for this string on google and see various reports of
this error with different software. The fix for most of these is to
disable seLinux. I have also read in "How to Write Shared Libraries"
by Ulrich Drepper that this error can result from building code in the
DSO that failed to have the -fpic or -fPIC flag enabled. I have
verified that this flag is being enabled yet the error persists.

Any suggestions for locating the actual cause of the error would be
most welcome and gratefully received.

Regards,

Jon Trauntvein

.



Relevant Pages

  • Re: Execution detail of Asp.net
    ... page in another temp dir. ... then loads them. ... > compiles the page to a dll in a temp dir, and loads the page (again a ...
    (microsoft.public.dotnet.framework.aspnet)
  • understanding files
    ... I have some questions about some exe, dll, and other ... It's called upon from the registry key ... what do these execuables do and are they necessary? ... \config.nt loads it ...
    (microsoft.public.windowsxp.general)
  • Re: ok ... so...
    ... when you first hit an asp.net site, loads a new appdomain, then loads the ... asp.net dll for that page. ... > I have about 5 user controls which build up the page. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Assembly loaded twice when Assembly.LoadFrom() is used
    ... resource, and when it's needed for calling entrypoints, it loads it as an ... The result is that the DLL has two occurrences in the ... > Looking at the HTTP requests that are made, ... > that the assembly is requested twice from the server. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Acroread for FC5_64
    ... SL> segment prot after reloc: ... It's selinux; there are huge loads of messages about just this topic ...
    (Fedora)