Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753199AbaKGXNp (ORCPT ); Fri, 7 Nov 2014 18:13:45 -0500 Received: from toast.topped-with-meat.com ([204.197.218.159]:57463 "EHLO topped-with-meat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751764AbaKGXNo (ORCPT ); Fri, 7 Nov 2014 18:13:44 -0500 X-Greylist: delayed 516 seconds by postgrey-1.27 at vger.kernel.org; Fri, 07 Nov 2014 18:13:44 EST MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Kees Cook X-Fcc: ~/Mail/lkml Cc: Arnd Bergmann , "linux-arm-kernel@lists.infradead.org" , Will Deacon , "linaro-kernel@lists.linaro.org" , Russell King - ARM Linux , "oleg@redhat.com" , "linux-kernel@vger.kernel.org" , AKASHI Takahiro , "dsaxena@linaro.org" Subject: Re: [RFC] ptrace: add generic SET_SYSCALL request In-Reply-To: Kees Cook's message of Friday, 7 November 2014 08:44:18 -0800 References: <1415346443-28915-1-git-send-email-takahiro.akashi@linaro.org> <353850534.aGkkrtTogX@wuerfel> <20141107131129.GF18916@arm.com> <6654405.Rf26mgoaDJ@wuerfel> X-Antipastobozoticataclysm: Bariumenemanilow Message-Id: <20141107230503.846942C3B00@topped-with-meat.com> Date: Fri, 7 Nov 2014 15:05:03 -0800 (PST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=SvUDtp+0 c=1 sm=1 tr=0 a=WkljmVdYkabdwxfqvArNOQ==:117 a=14OXPxybAAAA:8 a=kj9zAlcOel0A:10 a=hOe2yjtxAAAA:8 a=mX8G4SXRF6rO9a8tLyoA:9 a=CjuIK1q_8ugA:10 a=oB8tDOL9FTQA:10 a=nUgdnsUnoyYA:10 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Not that I'm actually involved any more, but I'd endorse the user_regset approach and not the new request. On many (most?) machines, it's already part of the main integer regset (orig_rax et al) and adding another mechanism is redundant. Using user_regset also means there won't be a word of hidden state that is not visible in core dumps. -- 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/