[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] malloc and mmap vs. "-run"
From: |
Rob Landley |
Subject: |
Re: [Tinycc-devel] malloc and mmap vs. "-run" |
Date: |
Fri, 27 Oct 2006 15:49:51 -0400 |
User-agent: |
KMail/1.9.1 |
On Friday 27 October 2006 1:58 pm, Fred Weigel wrote:
> As I see it, we have several ways out: (1) "-run" creates an executable
> which is then run via normal exec() semantics. This is an "easy" fix.
> (2) Modify the entire compiler to use mmap() semantics rather than
> malloc(). (3) Leave the malloc() semantics in place, and do a final copy
> when tcc_run() is executed. This final copy is to mmap() memory, with
> the correct permissions.
4) Disable SELinux. :)
Rob
--
"Perfection is reached, not when there is no longer anything to add, but
when there is no longer anything to take away." - Antoine de Saint-Exupery