tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Some feedback


From: Fabrice Bellard
Subject: Re: [Tinycc-devel] Some feedback
Date: Sat, 03 Sep 2005 20:17:11 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

Filip Navara wrote:
Daniel P. Stasinski wrote:

On 9/1/05, Marcelo Jimenez <address@hidden> wrote:
Daniel, did you see the patch I wrote about exec-shield? I have FC4
and -run does not segfault. Try as root:


Ok, I have an idea.  Please tell me if it's a bad idea but it will get
the -run option to work regardless of exec-shield.  I tested it with a
quick dirty proof of concept hack.

Make it a compile time option that rather than exec the code by
jumping to it in memory, instead write it to a tmp file, execlp() it,
delete the tmp file and return the status.
Isn't just pure "mprotect" usable?

Yes it is. I am commiting a small patch for that...

Fabrice.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]