Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758425Ab2EVVOO (ORCPT ); Tue, 22 May 2012 17:14:14 -0400 Received: from mail-lpp01m010-f46.google.com ([209.85.215.46]:35408 "EHLO mail-lpp01m010-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751570Ab2EVVOM convert rfc822-to-8bit (ORCPT ); Tue, 22 May 2012 17:14:12 -0400 MIME-Version: 1.0 In-Reply-To: <4FBC0078.7010002@zytor.com> References: <5d6179f59222155b72d9aa9f171e883c.squirrel@webmail.greenhost.nl> <20120522173942.GJ11775@ZenIV.linux.org.uk> <4FBBF84A.4070308@zytor.com> <4FBC0078.7010002@zytor.com> Date: Tue, 22 May 2012 16:14:10 -0500 Message-ID: Subject: Re: seccomp and ptrace. what is the correct order? From: Will Drewry To: "H. Peter Anvin" Cc: Al Viro , Indan Zupancic , Roland McGrath , Eric Paris , linux-kernel@vger.kernel.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, eparis@redhat.com, serge.hallyn@canonical.com, 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 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 811 Lines: 18 On Tue, May 22, 2012 at 4:09 PM, H. Peter Anvin wrote: > On 05/22/2012 01:48 PM, Will Drewry wrote: >> >> That was my first thought too, so I ran a few simple tests. ?gcc isn't >> smart enough to not add ~344 bytes of code to get the number and >> arguments for the x86/kernel/ptrace.c case I included (in the >> naive-est of integrations). ?But I don't know that it justifies the >> extra patchwork or enforcing shared code across arches. >> > > I suspect the construction of those inlines can be improved. Seems likely - or just my use of them :) -- 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/