mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: Shahbaz Youssefi <shabbyx@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Partially Privileged Applications
Date: Sun, 10 Nov 2013 17:44:52 +0100	[thread overview]
Message-ID: <527FB804.9090509@nod.at> (raw)
In-Reply-To: <CALeOzZ-NQyOdxhd3e_c70i0HVMnxS=kcNLTVz8t7UCK9dqUMeg@mail.gmail.com>

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

  reply	other threads:[~2013-11-10 16:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-10 15:03 Shahbaz Youssefi
2013-11-10 16:18 ` Richard Weinberger
2013-11-10 16:24   ` Shahbaz Youssefi
2013-11-10 16:44     ` Richard Weinberger [this message]
2013-11-11  0:43 ` Al Viro
     [not found] ` <20131110190633.GA18073@citd.de>
2013-11-11 13:05   ` Shahbaz Youssefi
2013-11-11 18:44     ` Matthias Schniedermeyer
2013-11-12 11:56       ` Levente Kurusa
2013-11-12 12:20         ` Shahbaz Youssefi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=527FB804.9090509@nod.at \
    --to=richard@nod.at \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shabbyx@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome