Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 2003 19:15:44 +1000
From:      Peter Jeremy <PeterJeremy@optushome.com.au>
To:        "Pedro F. Giffuni" <giffunip@yahoo.com>
Cc:        kientzle@acm.org
Subject:   Re: Non-executable mappings now in NetBSD too
Message-ID:  <20030831091544.GA86421@cirb503493.alcatel.com.au>
In-Reply-To: <20030830230628.98508.qmail@web13406.mail.yahoo.com>
References:  <20030830221458.GC85746@cirb503493.alcatel.com.au> <20030830230628.98508.qmail@web13406.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 31, 2003 at 12:06:28AM +0100, Pedro F. Giffuni wrote:
>> Emacs and perl both use traditional bytecode interpreters, as does the
>> Classic JVM.  I agree they will be unaffected.  This change will only
>> impact JIT JVMs.
>
>Well, we only have a JIT JVM for the i386, and on the particular case of the
>i386 we cannot enforce full protection anyways so there is probably a
>workaround if we do need it. 

Based on some recent BUGTRAQ postings, OpenBSD has a trick to support
full protection on the i386.  The text segment and executable part of
shared libraries are placed at low virtual addresses and CS is
restricted to only cover the low address space.  I don't know whether
it's worthwhile to implement something along these lines in FreeBSD.

Peter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030831091544.GA86421>