<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
I have been wondering for a while about the implications with
Nativeboost for a misbehaving C-library to corrupt the Smalltalk
image.&nbsp; 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:<br>
<br>
"<span
 style="color: rgb(0, 0, 0); font-family: Arial,'Liberation Sans','DejaVu Sans',sans-serif; font-size: 13.6px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17.6px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; background-color: rgb(255, 255, 255); display: inline ! important; float: none;">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).&nbsp; </span><span
 style="color: rgb(0, 0, 0); font-family: Arial,'Liberation Sans','DejaVu Sans',sans-serif; font-size: 13.6px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17.6px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; background-color: rgb(255, 255, 255); display: inline ! important; float: none;">Changing
your CPL is a relatively fast operation"<br>
<br>
I don't know much about this but I am curious...&nbsp;&nbsp; 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?<br>
<br>
cheers -ben<br>
</span>
</body>
</html>