[Top][All Lists]

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

Re: [Tinycc-devel] Some feedback

From: Filip Navara
Subject: Re: [Tinycc-devel] Some feedback
Date: Fri, 02 Sep 2005 12:04:50 +0200
User-agent: Mozilla Thunderbird 0.9 (Windows/20041103)

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?

- Filip

reply via email to

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