From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755317AbbG1MSv (ORCPT ); Tue, 28 Jul 2015 08:18:51 -0400 Received: from ozlabs.org ([103.22.144.67]:33138 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751874AbbG1MSu (ORCPT ); Tue, 28 Jul 2015 08:18:50 -0400 Message-ID: <1438085921.2773.1.camel@ellerman.id.au> Subject: Re: [PATCH 11/11] selftests/seccomp: Add powerpc support From: Michael Ellerman To: Kees Cook Cc: "linuxppc-dev@ozlabs.org" , LKML , Andy Lutomirski , Will Drewry , strosake@linux.vnet.ibm.com, bogdan.purcareata@freescale.com Date: Tue, 28 Jul 2015 22:18:41 +1000 In-Reply-To: References: <1437646871-3195-1-git-send-email-mpe@ellerman.id.au> <1437646871-3195-11-git-send-email-mpe@ellerman.id.au> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2015-07-27 at 11:59 -0700, Kees Cook wrote: > On Thu, Jul 23, 2015 at 3:21 AM, Michael Ellerman wrote: > > Wire up the syscall number and regs so the tests work on powerpc. > > This patch begs the question: this passes everything? Doh, yes that would have been worth mentioning! :) I'll update it before I commit it. Yes everything passes, thanks very much for the tests BTW. And for the record I've tested on: ppc64, ppc64 (compat), ppc64le, ppc, ppc64e and ppc64e (compat). > (I was reminded about syscall_restart while reading the patches. If > everything passes, it looks like powerpc exposes syscall_restart? Seems like > ARM remains the odd-arch-out on this. :P) Yeah I noticed that and though "oh jeez not syscall_restart", but it seems to pass, so I guess we behave in a standard fasion for once. I'll have a closer look just to be sure before I merge. cheers