[okl4-developer] iguana scheduling security question

Jorge Torres jorge.torres.maldonado at gmail.com
Tue Jul 10 12:45:25 EST 2007


Hi okl4.org,

Carl's idea of adding a new field on UTCB for senders spaceids,  gave me
the  impresion that perhaps  having a KIP field  for system's  default user
space scheduler threadid could be a good idea, so it can be used as the
deafult scheduler on L4_ThreadControl calls.

Cheers,

Jorge


On 7/8/07, Ben Leslie <benno at ok-labs.com> wrote:
>
> On Sun Jul 08, 2007 at 15:49:49 -0400, Jorge Torres wrote:
> >Hi okl4.org,
> >
> >Please correct me if I'm wrong, Isn't the fact of every iguana's thread
> >being able of setting it's own scheduling parameters as seen in
> thread_setup
> >L4_ThreadControl(self->id, pd_l4_space(pd), self->id, L4_Myself(),
> >L4_Myself(), 0, utcb);, where scheduler is set to be their selves, a
> >security issue?, since there will be no way to prevent one thread of
> >becoming it self a system starving thread.
>
> Hi Jorge,
>
> You are correct, currently threads are able to schedule themselves,
> which can lead to a denial-of-service. The next release of OKL4
> delegates scheduling to Iguana, and threads are steup in such a way
> that they can not adjust their own scheduling parameters.
>
> Cheers,
>
> Ben
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20070709/65fb89b8/attachment.htm 


More information about the Developer mailing list