[MLton] reason for mprotect with PROT_EXEC ?

Matthew Fluet fluet at tti-c.org
Thu Feb 14 07:56:22 PST 2008


On Thu, 14 Feb 2008, Wesley W. Terpstra wrote:
> On Feb 14, 2008, at 3:45 PM, Adam Goode wrote:
>> Wesley: do you have a code snippet that would crash for you before the
>> PROT_EXEC change in 2004?
>
> The regression suite includes profiling and preemptive thread switching 
> tests. These crashed on hppa. They will still work on i386/amd64 without 
> PROT_EXEC.

I believe that Ville has also used hppa-hpux.  I don't know if the 
PROT_EXEC is necessary for just hppa-linux or hppa-*.




More information about the MLton mailing list