Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753413AbaLUJ41 (ORCPT ); Sun, 21 Dec 2014 04:56:27 -0500 Received: from ozlabs.org ([103.22.144.67]:40205 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751020AbaLUJ4Z (ORCPT ); Sun, 21 Dec 2014 04:56:25 -0500 Date: Sun, 21 Dec 2014 20:56:04 +1100 From: Stephen Rothwell To: Pranith Kumar Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Anton Blanchard , David Herrmann , Andrew Morton , Fabian Frederick , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc: Wire up sys_execveat() syscall Message-ID: <20141221205604.5a280c9d@canb.auug.org.au> In-Reply-To: <1419094041-14536-1-git-send-email-bobby.prani@gmail.com> References: <1419094041-14536-1-git-send-email-bobby.prani@gmail.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; i586-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/6GMvFXob7SyJ1tcrOEXdWMs"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/6GMvFXob7SyJ1tcrOEXdWMs Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Pranith, On Sat, 20 Dec 2014 11:47:18 -0500 Pranith Kumar wr= ote: > > Wire up sys_execveat(). This passes the selftests for the system call. Thanks for this, but ... > diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm= /systbl.h > index ce9577d..778844a 100644 > --- a/arch/powerpc/include/asm/systbl.h > +++ b/arch/powerpc/include/asm/systbl.h > @@ -366,3 +366,4 @@ SYSCALL_SPU(seccomp) > SYSCALL_SPU(getrandom) > SYSCALL_SPU(memfd_create) > SYSCALL_SPU(bpf) > +SYSCALL_SPU(execveat) Given that it passes pointers into the kernel and looking at the execve system call, I assume that it should be COMPAT_SYS(). --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au --Sig_/6GMvFXob7SyJ1tcrOEXdWMs Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJUlplFAAoJEMDTa8Ir7ZwVz8gP/iT/GPPlhuxFK+B6J0B0P34g tkMQPKkeLEO+nXa2FVaspRGvPtkH3fuxdOaagj5VBQce8ildFpf9eaPOCKnxmcRh J1eWpjk2/PIfEcyKuc1Qh2UMG2l61dokO3qVAzkEW3dYUqXWiORbC6JoIz+LaG5M ujtl76YBar564TqhUVfQO+an0eBpJe6Qx5si7xDIK3ID+Am6xt5SSipqmsWWCP3k h4jBi9FSzND7SyXmTfi5kWtfYMtyn2JOyzftX0k9k42rS/c52FeBdmZk3m9CGzh5 M28HT2+Op1LDIdh+Ut8mh+dK70HyaUDc/Pl9HkhmCdB/xeb3WAX20noXi6l5T9HE VSKfK4BOPtib79SbZAizHG+YuHPre9IJJ6+tBP3JfmIdiuvvE16R9vuaeRFpmVRK hl8Q4+7eaQI0TC8mk9HeKs3pHflJKRntYnpIk8SDxRyEkHjbA56i3qjTEx2rBllo iv5MV+X+3awEI8nAfk7C+95dbGnGOYTUEWF8jd3VjpQfiPZj27/TQk4HFz3LKUBb ugtOr8vucMVfhdaP4PkLOSKmwwRtP/qjLazq9Ql8z3n68nbMZe6iPZF9cfPy71wr 0YmODt9ePrp1Xlt5FGf+6qZp2QU2M+GwIeEB0fk8j4Hbvpbjd5ewJqR0KDrahY4D ToGGEBVIFswdreYud8bf =59QZ -----END PGP SIGNATURE----- --Sig_/6GMvFXob7SyJ1tcrOEXdWMs-- -- 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/