[okl4-developer] rootspace server

Geoffrey Lee glee at ok-labs.com
Tue Jul 31 05:08:17 EST 2007


On Mon, Jul 30, 2007 at 01:31:19PM -0400, Jorge Torres wrote:
> Hi okl4.org,
> 
> I'm sorry I've made a mistake, for some reason I saw that L_timer and
> roottask belonged to the same space (rootspace), but now that I check I was
> wrong,
> 

Just to clarify a bit, whether threads are privileged or not is
determined by whether they reside within the roottask space.
Currently, it is just the Iguana server thread.  The check in 
L4 is is_privileged_space(), currently this checks whether a given 
space is the root space.

L_timer reside within the Wombat PD.  The Wombat PD is a separate PD
from the Iguana server.

I hope this clarify things a bit and haven't made it even more
confusing.

	- gl

> Thank you very much,
> 
> JOrge
> 
> On 7/30/07, Jorge Torres <jorge.torres.maldonado at gmail.com> wrote:
> >
> > Hi Geoffrey, okl4.org,
> >
> > Thank you for you for your prompt answer, but I probably wasn't clear
> > explaining my concerns:
> >
> > On 7/30/07, Geoffrey Lee <glee at ok-labs.com> wrote:
> > >
> > > On Mon, Jul 30, 2007 at 11:00:16AM -0400, Jorge Torres wrote:
> > > > Hi okl4.org,
> > > >
> > > > Please correct me if I'm wrong, on OKL4 with wombat running, the only
> > > two
> > > > threads that are in the rootspace are the roottask and the L_timer
> > > threads,
> > > > correct?
> > > > I can't find how or where is it that (build system??) specifies that
> > > > L_timer thread  would be in rootspace?
> > >
> > > The L_timer is a part of Wombat, it is inside Wombat.
> > >
> > > Take a look at linux/kernel/arch/l4/kernel/main.c:main().  One of the
> > > first thing it does is set the debug name.
> >
> >
> > Yes true, I know debug name has nothing to do with thread's space, I'm
> > just calling them by their debbug names so it is easier for me to explain
> > what I want to know, both L_timer and L_syscal thread are part of Wombat and
> > yet L_syscal is not in the rootspace, my question was more about, where is
> > it that L_timer is specified to be privileged (be in the rootspace), since
> > such thread creation is specified by the build system, I can't find where,
> > it is not in the iguana's SCOnscript for sure, does elfweaver specifies this
> > too?, if so (if L_timer thread space is set by the build system), this means
> > that I could do the same for a new ig-server,
> >
> > Thank you very much for your time, and I hope this time I have made my
> > question a little more clear than initially,
> >
> > Cheers,
> >
> > Jorge
> >
> > >
> > >
> > > >
> > > > Thank you very much for your time,
> > > >
> > > > Jorge
> > >
> > > > _______________________________________________
> > > > Developer mailing list
> > > > Developer at okl4.org
> > > > https://lists.okl4.org/mailman/listinfo/developer
> > >
> > >
> >



More information about the Developer mailing list