Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751780AbdINTlF (ORCPT ); Thu, 14 Sep 2017 15:41:05 -0400 Received: from mail-io0-f182.google.com ([209.85.223.182]:54004 "EHLO mail-io0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751679AbdINTlE (ORCPT ); Thu, 14 Sep 2017 15:41:04 -0400 X-Google-Smtp-Source: AOwi7QAe4WaK3VLCn04QX2btRiXOF9yZBI21sdhbvjPmefcEM3jSDQoIv0fg1etrtd+aHSPQt9u3qq2tFhQ25Zbzy1E= MIME-Version: 1.0 In-Reply-To: <20170913164921.GA14063@redhat.com> References: <20170912225756.GA19364@altlinux.org> <20170913164921.GA14063@redhat.com> From: Eugene Syromyatnikov Date: Thu, 14 Sep 2017 19:40:43 +0000 Message-ID: Subject: Re: [PATCH] x86/asm/64: do not clear high 32 bits of syscall number when CONFIG_X86_X32=y To: Oleg Nesterov Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Andy Lutomirski , lkml , "Dmitry V. Levin" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 390 Lines: 12 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 ? By the way, they are ignored elsewhere, in audit[1] or seccomp[2], for example. [1] include/linux/audit.h [2] include/uapi/linux/seccomp.h, definition of struct seccomp_data -- Eugene Syromyatnikov mailto:evgsyr@gmail.com xmpp:esyr@jabber.{ru|org}