Re: [PATCH] i386: clean up user_mode() use

From: Ingo Molnar
Date: Mon Jul 03 2006 - 00:40:51 EST



* Linus Torvalds <torvalds@xxxxxxxx> wrote:

> On Sun, 2 Jul 2006, pageexec@xxxxxxxxxxx wrote:
> >
> > the fact that arch *independent* code makes use of user_mode() was
> > apparently lost on you.
>
> Argh. Yes, there's one single use, apparently.
>
> Sad.

but even for new non-generic per-arch code a couple of security holes
were introduced due to the existing semantics of user_mode(). So this
indeed changes semantics and it's totally intentional.

so i think we should bite the bullet and should apply this patch. We
have a constant influx of user_mode() using code and as practice has
shown it, people dont really consider the vm86 angle of it.

Ingo
-
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/