linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Partially Privileged Applications
@ 2013-11-10 15:03 Shahbaz Youssefi
  2013-11-10 16:18 ` Richard Weinberger
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Shahbaz Youssefi @ 2013-11-10 15:03 UTC (permalink / raw)
  To: linux-kernel

Dear all,

First, please CC replies to myself. Second, this is an RFC.

I've been tampering with an idea for some time now and I've done some
research. Finally, I wrote it down here (a terrible place as it turned
out):

http://shahbaz-youssefi.blogspot.it/2013/11/partially-privileged-applications.html

and would like to know what you think. This idea requires an
improvement to the CPU architectures to allow unifying kernel and user
spaces and perform privileged instructions based on the location of
the instruction rather than a manually switched mode (or via traps).

Please, do take a look at the link. I'm far from a kernel expert so
the idea may not be as rainbows and unicorns as it seems to me right
now. But it also may be. In that case, probably we need a push by
well-known people (i.e., Linus) to get the manufacturers to implement
the feature.

At least from a developer's point of view, with this idea you could
gdb or even valgrind check the drivers in the very least with much
less chance of a kernel oops. How faster can you imagine debugging a
kernel module?

Thanks,
An unfortunate soul who has to deal with buggy kernel modules

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-11-12 12:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-10 15:03 Partially Privileged Applications Shahbaz Youssefi
2013-11-10 16:18 ` Richard Weinberger
2013-11-10 16:24   ` Shahbaz Youssefi
2013-11-10 16:44     ` Richard Weinberger
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).