Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751487Ab2HCEj3 (ORCPT ); Fri, 3 Aug 2012 00:39:29 -0400 Received: from tundra.namei.org ([65.99.196.166]:40510 "EHLO tundra.namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750744Ab2HCEj2 (ORCPT ); Fri, 3 Aug 2012 00:39:28 -0400 Date: Fri, 3 Aug 2012 14:36:55 +1000 (EST) From: James Morris To: Andy Lutomirski cc: James Morris , linux-kernel@vger.kernel.org, Will Drewry , x86@kernel.org Subject: Re: [PATCH v2] seccomp: Make syscall skipping and nr changes more consistent In-Reply-To: <744e07394a02be3d3ef52c22ccedb24d9a478fe1.1343869850.git.luto@amacapital.net> Message-ID: References: <744e07394a02be3d3ef52c22ccedb24d9a478fe1.1343869850.git.luto@amacapital.net> User-Agent: Alpine 2.02 (LRH 1266 2009-07-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: 1076 Lines: 31 On Wed, 1 Aug 2012, Andy Lutomirski wrote: > This fixes two issues that could cause incompatibility between > kernel versions: > > - If a tracer uses SECCOMP_RET_TRACE to select a syscall number > higher than the largest known syscall, emulate the unknown > vsyscall by returning -ENOSYS. (This is unlikely to make a > noticeable difference on x86-64 due to the way the system call > entry works.) > > - On x86-64 with vsyscall=emulate, skipped vsyscalls were buggy. > > This updates the documentation accordingly. > > Signed-off-by: Andy Lutomirski > Acked-by: Will Drewry Please rebase this to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next or wait until the next -rc, where I'll sync with Linus. -- James Morris -- 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/