[GHC] #14069: RTS linker maps code as writable
GHC
ghc-devs at haskell.org
Fri Jun 22 19:59:58 UTC 2018
#14069: RTS linker maps code as writable
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: SantiM
Type: bug | Status: new
Priority: high | Milestone: 8.8.1
Component: Runtime System | Version: 8.0.1
(Linker) |
Resolution: | Keywords: newcomer
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D4817
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"67c422ca0e7b94e021430e3dfc9b19f3de21ed16/ghc" 67c422c/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="67c422ca0e7b94e021430e3dfc9b19f3de21ed16"
rts/linker/{SymbolExtras,elf_got}.c: map code as read-only
protect mmaped addresses from writes after being initially manipulated
Test Plan: ./validate
Reviewers: bgamari, erikd, simonmar
Reviewed By: bgamari
Subscribers: angerman, carlostome, rwbarton, thomie, carter
GHC Trac Issues: #14069
Differential Revision: https://phabricator.haskell.org/D4817
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14069#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list