Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758286Ab2EUSZ1 (ORCPT ); Mon, 21 May 2012 14:25:27 -0400 Received: from mail-qa0-f49.google.com ([209.85.216.49]:38936 "EHLO mail-qa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750805Ab2EUSZZ (ORCPT ); Mon, 21 May 2012 14:25:25 -0400 MIME-Version: 1.0 In-Reply-To: References: From: Roland McGrath Date: Mon, 21 May 2012 11:25:04 -0700 Message-ID: Subject: Re: seccomp and ptrace. what is the correct order? To: Eric Paris Cc: Will Drewry , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, kernel-hardening@lists.openwall.com, hpa@zytor.com, mingo@redhat.com, oleg@redhat.com, peterz@infradead.org, rdunlap@xenotime.net, tglx@linutronix.de, luto@mit.edu, eparis@redhat.com, serge.hallyn@canonical.com, indan@nul.nu, pmoore@redhat.com, akpm@linux-foundation.org, corbet@lwn.net, eric.dumazet@gmail.com, markus@chromium.org, coreyb@linux.vnet.ibm.com, keescook@chromium.org Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 438 Lines: 8 >From a security perspective I think the natural expectation would be that the seccomp check is on the values that will actually be used, without an intervening opportunity to change anything. -- 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/