Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751735AbdINUYc (ORCPT ); Thu, 14 Sep 2017 16:24:32 -0400 Received: from vmicros1.altlinux.org ([194.107.17.57]:33182 "EHLO vmicros1.altlinux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751590AbdINUYb (ORCPT ); Thu, 14 Sep 2017 16:24:31 -0400 Date: Thu, 14 Sep 2017 23:24:30 +0300 From: "Dmitry V. Levin" To: Eugene Syromyatnikov Cc: Oleg Nesterov , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Andy Lutomirski , lkml Subject: Re: [PATCH] x86/asm/64: do not clear high 32 bits of syscall number when CONFIG_X86_X32=y Message-ID: <20170914202429.GB16764@altlinux.org> Mail-Followup-To: Eugene Syromyatnikov , Oleg Nesterov , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Andy Lutomirski , lkml References: <20170912225756.GA19364@altlinux.org> <20170913164921.GA14063@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+pHx0qQiF2pBVqBT" Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1530 Lines: 43 --+pHx0qQiF2pBVqBT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 14, 2017 at 07:40:43PM +0000, Eugene Syromyatnikov wrote: > On Wed, Sep 13, 2017 at 4:49 PM, Oleg Nesterov wrote: > > IOW, why do we want to silently ignore the upper bits in $rax ? >=20 > By the way, they are ignored elsewhere, in audit[1] or seccomp[2], for ex= ample. >=20 > [1] include/linux/audit.h > [2] include/uapi/linux/seccomp.h, definition of struct seccomp_data Yes, unfortunately, they are ignored later, but that is another story. --=20 ldv --+pHx0qQiF2pBVqBT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJZuuV9AAoJEAVFT+BVnCUIWGIQAJlNeZ4O477hmRo3CzTukQD3 ymBffHk4KSFzLISeVtS0ibQYdLC+NnMthJuo+gbxF4gN+dz+UwXTB9t7ggZ894tR 4zWTbzd/aUBoPrF033kOnWPdRo9+j8+1HAS6VmvgTPvOW9GP5TU1JXh8vW1YtMxY WSAu8Z6X5XgZJRhYMNhXF7svXBK+0IBftPfq9vmgND8oyXnroMVJ/zhmLvgnL7JK Ghw4LZ7aySXXnG8iSgFXrP9QNvfrbJn2+7YVJvRltAY4L/LhM7ZjCr1l6EMtXq7T IDO+s9I6evgrdHDxFq2fKBMHOsNPxJk+RKvSGW0HUJYhRXA7BXLubcmWE8a1QxxX JfMxXYB0lMPwg7Uzq5GyNVKn1Dq54nFbmWwe0bjN/wD5v4KzQwtBCw5hMX6R9uRU BPtscuBCjbbDe1R15gq0JREdJOUuAdReBduBTZIGsVkDp0EhBsmZv/Ust5/s/XAf DaeOuXGnCRG1dtfvpyCYuX4lQIr5GQnE1JnRL1ADTOQXXZNO8VPtkNnNeFSkONDz gRfYhLwVsQn1TkydwlwoGVmpMB+PjLN0b+f4wDSd6ZIgqvvprVK/6kskd3kQGPo9 tKJomDhmXlgrXpg74vBx59E1L0z487ZoHH+73YPjPeBCAcomFl0ow4lPTeyxuzzN rPZSppDbTBVvE1l+T2fR =68DM -----END PGP SIGNATURE----- --+pHx0qQiF2pBVqBT--