[GHC] #12657: GHC and GHCi: RWX mmap denied by GrSec, results in a segfault

GHC ghc-devs at haskell.org
Thu Oct 6 22:23:23 UTC 2016


#12657: GHC and GHCi: RWX mmap denied by GrSec, results in a segfault
-------------------------------------+-------------------------------------
        Reporter:  PoroCYon          |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.0.1
      Resolution:                    |             Keywords:  grsec, pax,
                                     |  mmap, rts
Operating System:  Linux             |         Architecture:  x86_64
                                     |  (amd64)
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dobenour):

 simonmar: I feel like the only option may be to do eager binding, and to
 always allocate groups of whole pages for each linked object file.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12657#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list