
I think grsecurity tracks writability history as well, so it forbids a
#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 simonmar): page from being executable that was ever writable (by a given process) Then we should do whatever `ld.so` does, or `libffi`, both of which have to solve the same problem. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12657#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler