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

GHC trac at galois.com
Sat Sep 1 07:18:15 EDT 2007


#738: ghc can't load files with selinux Enforcing
-------------------------------------------+--------------------------------
    Reporter:  jon.fairbairn at cl.cam.ac.uk  |        Owner:          
        Type:  feature request             |       Status:  reopened
    Priority:  normal                      |    Milestone:  6.6.2   
   Component:  Runtime System              |      Version:  6.6.1   
    Severity:  normal                      |   Resolution:          
    Keywords:  selinux                     |   Difficulty:  Unknown 
          Os:  Linux                       |     Testcase:          
Architecture:  x86                         |  
-------------------------------------------+--------------------------------
Comment (by panne):

 Remember that at some point we *do* need writeable and executable memory
 (for Haskell callbacks, see createAdjustor in Adjustor.c). There have been
 various attempts to fix problems related to newer security concepts, but
 obviously we are still not where we want to be. So the basic question is:
 How can we tell the underlying OS "It is OK for the GHC RTS to generate
 executable code?". How do other language implementations with e.g. JITs
 solve this problem?

-- 
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