Re: Partially Privileged Applications

From: Richard Weinberger
Date: Sun Nov 10 2013 - 11:44:57 EST


Am 10.11.2013 17:24, schrieb Shahbaz Youssefi:
> Not sure if I understood you (or you understood me). We don't throw
> away anything. Only difference would be instead of generating a trap
> to call a function in the kernel, we can just call it and have the
> hardware take care of privileges. The "trap way" is the one that
> actually seems hacky! A hack proposed to fix the brain-dead processors
> of twenty years ago.
>
> As a bonus you would also have more control over what parts of a
> driver actually get run in privileged mode.
>
> Care to explain why you would call this a step backwards?

Maybe I did not understand your idea. But to me it sounds like plain old call gates.
See: http://en.wikipedia.org/wiki/Call_gate

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