#3910: +RTS options introduce a security problem for, e.g., setuid binaries
------------------------------------------+---------------------------------
Reporter: andersk | Owner: igloo
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Runtime System | Version: 6.12.1
Resolution: fixed | Keywords:
Difficulty: | Os: Unknown/Multiple
Testcase: | Architecture: Unknown/Multiple
Failure: Incorrect result at runtime |
------------------------------------------+---------------------------------
Changes (by igloo):
* status: new => closed
* resolution: => fixed
Comment:
Yes, fixed by:
{{{
Tue Mar 16 23:33:57 GMT 2010 Ian Lynagh <[email protected]>
* Don't use -Bsymbolic when linking the RTS
This makes the RTS hooks work when doing dynamic linking
Mon Mar 15 17:35:41 GMT 2010 Ian Lynagh <[email protected]>
* When saying RTS options are disabled, also say how to enable them
Sun Mar 14 13:36:48 GMT 2010 Ian Lynagh <[email protected]>
* Don't enable RTS options by default
Sat Mar 13 15:45:55 GMT 2010 Ian Lynagh <[email protected]>
* Add a link-time flag to en/disable the RTS options
If RTS options are disabled then:
* The ghc_rts_opts C code variable is processed as normal
* The GHCRTS environment variable is ignored and, if it is defined, a
warning is emitted
* The +RTS flag gives an error and terminates the program
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3910#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs