logo       

Re: [GHC] #738: ghc can't load files with selinux Enforcing: msg#00004

lang.haskell.glasgow.bugs

Subject: Re: [GHC] #738: ghc can't load files with selinux Enforcing

#738: ghc can't load files with selinux Enforcing
-----------------------------------------+----------------------------------
Reporter: jon.fairbairn@xxxxxxxxxxxx | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Runtime System | Version: 6.4.1
Severity: major | Resolution:
Keywords: | Os: Linux
Difficulty: Unknown | Architecture: x86_64 (amd64)
-----------------------------------------+----------------------------------
Changes (by simonmar):

* component: Compiler => Runtime System

Comment:

Is this at all related to #703?

I have no idea what SELinux "enforcing" mode does. It looks like SELinux
doesn't like us using mprotect() to make dynamically-allocated memory
executable. This is required for things like 'foreign import "wrapper"',
because we have to generate dynamic code.

It's possible we could mmap() instead, I suppose.

Can anyone shed any more light here?

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/738>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise