patch applied (ghc): Add a link-time flag to en/disable the RTS
options
Isaac Dupree
ml at isaac.cedarswampstudios.org
Mon Mar 15 18:44:06 EDT 2010
On 03/15/10 05:42, Simon Marlow wrote:
> On 13/03/2010 20:14, Ian Lynagh wrote:
>> Sat Mar 13 07:45:55 PST 2010 Ian Lynagh<igloo at earth.li>
>> * 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
Are these sufficient for the security / setuid use case? I think
writing to stderr might cause the program to do something different than
what was intended (and, as a compiler, we have no idea either what the
program or its caller is supposed to be doing).
I did not successfully find out from Google-ing whether this is
something to be concerned about.
-Isaac
More information about the Cvs-ghc
mailing list