Re: [RFC] fixing the UML failure root cause

From: Ingo Molnar
Date: Sat Oct 15 2011 - 13:01:52 EST




* richard -rw- weinberger <richard.weinberger@xxxxxxxxx> wrote:

> On Fri, Oct 14, 2011 at 10:17 PM, Andrew Lutomirski <luto@xxxxxxx> wrote:
> > On Fri, Oct 14, 2011 at 12:53 PM, richard -rw- weinberger
> > <richard.weinberger@xxxxxxxxx> wrote:
> >> On Tue, Oct 11, 2011 at 7:24 PM, Andrew Lutomirski <luto@xxxxxxx> wrote:
> >>> What do you think of this approach?  If it seems good, I'll finish the
> >>> patch and submit it.
> >>>
> >>> With this patch applied, UML appears to work, but it fills the log with
> >>> exploit attempt warnings.  Any ideas on what to do about that?
> >>>
> >>
> >> I can confirm that this patch works.
> >> And I really like vsyscall=emulate because with that UML can trap vsyscalls. :-)
> >
> > Are you sure you don't mean vsyscall=native?  I suspect that UML can't
> > actually trap vsyscalls in emulate mode right now, although that ought
> > to be fixable.
> >
>
> §/%)"&!, you are so right!
> I missed that vsyscall=native is the default setting now.
> Sorry for the confusion.

Switch back to vsyscall=native was just a temporary ABI fix for v3.1
- we'd like to switch to vsyscall=emulate again ASAP (possibly in
v3.2), once Andrew is done with the patch and everyone is happy with
it.

Thanks,

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/