From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933495Ab1JNW2R (ORCPT ); Fri, 14 Oct 2011 18:28:17 -0400 Received: from mail-vw0-f46.google.com ([209.85.212.46]:55309 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755032Ab1JNW2Q convert rfc822-to-8bit (ORCPT ); Fri, 14 Oct 2011 18:28:16 -0400 MIME-Version: 1.0 In-Reply-To: References: <20111010114840.GC17079@elte.hu> <20111011062253.GA3589@elte.hu> <4E947BC9.7040805@mit.edu> Date: Sat, 15 Oct 2011 00:28:15 +0200 Message-ID: Subject: Re: [RFC] fixing the UML failure root cause From: richard -rw- weinberger To: Andrew Lutomirski Cc: Ingo Molnar , Linus Torvalds , Adrian Bunk , "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 14, 2011 at 10:17 PM, Andrew Lutomirski wrote: > On Fri, Oct 14, 2011 at 12:53 PM, richard -rw- weinberger > wrote: >> On Tue, Oct 11, 2011 at 7:24 PM, Andrew Lutomirski 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. -- Thanks, //richard