<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<a class="moz-txt-link-abbreviated" href="mailto:btc@openinworld.com">btc@openinworld.com</a> wrote:
<blockquote cite="mid:51132FF9.8060002@openinworld.com" type="cite">
  <pre wrap=""> </pre>
  <pre wrap="">
<hr size="4" width="90%">

I have been wondering for a while about the implications with Nativeboost for a 
misbehaving C-library to corrupt the Smalltalk image.  Just now I came across 
<a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/9056427/kernel-mode-and-memory-protection">http://stackoverflow.com/questions/9056427/kernel-mode-and-memory-protection</a>, 
where I read:

"Each process has its own page table, and each page in the page table can be 
restricted by setting a maximum CPL (Current Privilege Level).  Changing your 
CPL is a relatively fast operation"

I don't know much about this but I am curious...   Could the VM be made to 
normally run at CPL 2 and when allocating calling out to foreign function switch 
to CPL 3 - without too much overhead?

cheers -ben
  </pre>
</blockquote>
<a class="moz-txt-link-freetext" href="http://pdos.csail.mit.edu/6.828/2005/readings/i386/s06_03.htm">http://pdos.csail.mit.edu/6.828/2005/readings/i386/s06_03.htm</a>.<br>
also provides some interesting options.&nbsp; Note this is all new to me and
at the moment just for mild curiosity, so if its too much of a
distraction just let me know.<br>
<br>
</body>
</html>