Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933559Ab2EXXlL (ORCPT ); Thu, 24 May 2012 19:41:11 -0400 Received: from tundra.namei.org ([65.99.196.166]:46884 "EHLO tundra.namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754088Ab2EXXlJ (ORCPT ); Thu, 24 May 2012 19:41:09 -0400 Date: Fri, 25 May 2012 09:40:18 +1000 (EST) From: James Morris To: Will Drewry cc: linux-kernel@vger.kernel.org, mcgrathr@google.com, hpa@zytor.com, indan@nul.nu, netdev@parisplace.org, linux-security-module@vger.kernel.org, kernel-hardening@lists.openwall.com, mingo@redhat.com, oleg@redhat.com, peterz@infradead.org, rdunlap@xenotime.net, tglx@linutronix.de, luto@mit.edu, serge.hallyn@canonical.com, pmoore@redhat.com, akpm@linux-foundation.org, corbet@lwn.net, markus@chromium.org, coreyb@linux.vnet.ibm.com, keescook@chromium.org, viro@zeniv.linux.org.uk Subject: Re: [RFC PATCH 0/3] move the secure_computing call In-Reply-To: <1337875681-20717-1-git-send-email-wad@chromium.org> Message-ID: References: <20120522173942.GJ11775@ZenIV.linux.org.uk> <1337875681-20717-1-git-send-email-wad@chromium.org> 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: 915 Lines: 23 On Thu, 24 May 2012, Will Drewry wrote: > As is, the biggest benefit of this change is just setting consistent > expectations in what the ptrace/seccomp interactions should be. The > current ability for ptrace to "bypass" secure computing (by remapping > allowed system calls) is not necessarily a problem, but it is not > necessarily intuitive behavior. Indeed -- while the purpose of seccomp is to reduce the attack surface of the syscall interface, if a user allows ptrace, attackers will definitely see that as an attack vector, if it allows them to increase that attack surface. It at least needs to be well-documented. -- 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/