lkml.org 
[lkml]   [2005]   [Oct]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: using segmentation in the kernel
FromArjan van de Ven <>
DateWed, 12 Oct 2005 17:44:33 +0200
> > and I don't believe this one yota. THe only way to do this is to run
> > modules in ring 1, at which point you are in deep shit anyway.
> 
> Not neccessarily. Its how Xen works on x86-32 for example. It keeps
> itself protected from the entire Linux instance by using segmentation on

it only works if you make a very small syscall-like area which you use
to talk to the "real" kernel. Which is entirely not how linux modules
work right now.... at which point you're just about a userspace
application anyway. Might be an interesting research project of
course...

> 32bit processors (not 64bit however as x86-64 has no segments in 64bit)

afaik x86-64 grew segments recently for 64 bit mode for an unnamed other
virtualization vendor


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-12 17:47    [from the cache]
©2003-2008