Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752264Ab2JBLZx (ORCPT ); Tue, 2 Oct 2012 07:25:53 -0400 Received: from tundra.namei.org ([65.99.196.166]:58668 "EHLO tundra.namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751311Ab2JBLZw (ORCPT ); Tue, 2 Oct 2012 07:25:52 -0400 Date: Tue, 2 Oct 2012 21:23:41 +1000 (EST) From: James Morris To: Andy Lutomirski cc: James Morris , linux-kernel@vger.kernel.org, Will Drewry , x86@kernel.org, Greg KH Subject: Re: [PATCH v2 resend] seccomp: Make syscall skipping and nr changes more consistent In-Reply-To: <1c47b77bc4f572e9f9755b7bbccef045ee451a1b.1349116571.git.luto@amacapital.net> Message-ID: References: <1c47b77bc4f572e9f9755b7bbccef045ee451a1b.1349116571.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: 977 Lines: 26 On Mon, 1 Oct 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 Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-queue -- 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/