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

GHC trac at galois.com
Tue Apr 4 06:03:50 EDT 2006


#738: ghc can't load files with selinux Enforcing
-----------------------------------------+----------------------------------
  Reporter:  jon.fairbairn at cl.cam.ac.uk  |          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


More information about the Glasgow-haskell-bugs mailing list