Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753227AbYH0UAe (ORCPT ); Wed, 27 Aug 2008 16:00:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751247AbYH0UA0 (ORCPT ); Wed, 27 Aug 2008 16:00:26 -0400 Received: from sovereign.computergmbh.de ([85.214.69.204]:58528 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750765AbYH0UAZ (ORCPT ); Wed, 27 Aug 2008 16:00:25 -0400 Date: Wed, 27 Aug 2008 16:00:24 -0400 (EDT) From: Jan Engelhardt To: Jeff Dike cc: Linux Kernel Mailing List Subject: Re: Is SKAS still required for UML In-Reply-To: <20080827190655.GB12522@c2.user-mode-linux.org> Message-ID: References: <20080827190655.GB12522@c2.user-mode-linux.org> User-Agent: Alpine 1.10 (LNX 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1174 Lines: 24 On Wednesday 2008-08-27 15:06, Jeff Dike wrote: >On Wed, Aug 27, 2008 at 12:57:53PM -0400, Jan Engelhardt wrote: >> >> I tried to put this to a test, and actually failed to modify the >> UML kernel/memory image from within it. I had a simple kernel module >> with 'int val = 2;' and upon loading this, done printk("Val is at %p\n", >> &val); to get to know the address. A userspace program inside the UML >> then tried to dereference that address and read the value, but that >> ended in a segfault. /proc/xxx/maps also does not show the UML kernel >> being mapped in any process inside the UML. Note that I was running in >> SKAS0 mode, both host and guest are all 64-bit. Is the NX bit of the >> 64-bit platform securing things off, or has SKAS3 become sort of >> obsolete? > >SKAS3 is still a significant performance boost. In tests of mine, oggenc in SKAS0 mode ran at 95% of native speed, which is pretty good. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/