seLinux: how do I avoid this error
- From: "JH Trauntvein" <j.trauntvein@xxxxxxxxxxx>
- Date: 14 Jul 2006 16:14:03 -0700
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
.
- Follow-Ups:
- Re: seLinux: how do I avoid this error
- From: John Reiser
- Re: seLinux: how do I avoid this error
- Prev by Date: Re: access root privileges through C program
- Next by Date: Want vim in Ubuntu to remember the edited location
- Previous by thread: access root privileges through C program
- Next by thread: Re: seLinux: how do I avoid this error
- Index(es):
Relevant Pages
|