Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1903354ybt; Mon, 15 Jun 2020 12:26:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQfyBRzSbSohaUfIWrU2OiQGP2QfwXpv1l82bXJJN0Zpcn2GrN1B2g1aa6KV1L6IPLlIJp X-Received: by 2002:a50:b2a1:: with SMTP id p30mr25949149edd.199.1592249171272; Mon, 15 Jun 2020 12:26:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592249171; cv=none; d=google.com; s=arc-20160816; b=iWuwbJuLsYnxZ+kEKKDOpBj5KZFxJiorbBYWbftWB/UXOcDPyzI8fig79Zqg94d+eM tv/lENjuN6aFs0aJTPYjv3GmWvGb+Ce8DCQxX0+XRrvF+3N+EKyryp2UYZ5I5qd8w18O Pdc3vOsAXdJkCS19tZ5mU6iNk/DT0IoGfq1CxzzUvxOsbvNeybKP9Fg8kDDtIOP/2MTY 1KxtKrgLV7m0ICKJmv0h5B2JCUtG/t6jt5YKcPoPZKZco+sHyOMSjKgNVg9RnixQFJXq 9+MmvsDvVFqiog9JkM+2PBhuBCOWaDX6wEJWIgHuJfTq8Gg92s+PnYkg//u5lTQze7SU 4aJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=JPpwyT3V/U8x2CSXzNOwetqda6ZJobxNImqcdmLIsK8=; b=hD/baCACtmu3Iqeb6sHqILydjnkkCCCHgYMW/O84tG4NMw2zjkskBmVfyhka1aiYc6 CyVuk4JueRqEmUtd1X9TaDbPlhZMdGGdN2IPCTeLxQRoHwnDFq0OiwQW3xmW8nIKY8hM VWYTPH/07GJyus5mz0b+i6BEwkp8JC79pNBVQ9BDfb118hR7qnDnn7Jfg66Omi/t4NdS RWt8JDdpmjkIO2UfJC7jQM+pCfFWfPQCKcqKZbYzaCxe491Zv2JszezgxjHv2269l+1T u3k2H4LXUEo2dYNjL9tzX+d4xhAQMLPXGdFMAG+CK5tD9rXrLdb1/2ZwEnoPZM5QyZh7 VinA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y2si9883731edv.25.2020.06.15.12.25.48; Mon, 15 Jun 2020 12:26:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731063AbgFOQli (ORCPT + 99 others); Mon, 15 Jun 2020 12:41:38 -0400 Received: from verein.lst.de ([213.95.11.211]:34309 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730431AbgFOQlh (ORCPT ); Mon, 15 Jun 2020 12:41:37 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 14E2268AFE; Mon, 15 Jun 2020 18:41:34 +0200 (CEST) Date: Mon, 15 Jun 2020 18:41:33 +0200 From: Christoph Hellwig To: Brian Gerst Cc: Christoph Hellwig , Arnd Bergmann , Al Viro , Luis Chamberlain , Linux ARM , the arch/x86 maintainers , "open list:BROADCOM NVRAM DRIVER" , Parisc List , linuxppc-dev , linux-s390 , sparclinux , Linux FS-devel Mailing List , linux-arch , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 2/6] exec: simplify the compat syscall handling Message-ID: <20200615164133.GA23493@lst.de> References: <20200615130032.931285-1-hch@lst.de> <20200615130032.931285-3-hch@lst.de> <20200615141239.GA12951@lst.de> <20200615144310.GA15101@lst.de> <20200615150926.GA17108@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 15, 2020 at 11:33:49AM -0400, Brian Gerst wrote: > If you move those aliases above all the __SYSCALL_* defines it will > work, since that will get the forward declaration too. This would be > the simplest workaround. That compiles and also passes my exaustive x32 tests (chroot + ls -l). This is the updated version: http://git.infradead.org/users/hch/misc.git/commitdiff/c8d319711ad2f53be003ae8e9be08519068bdcee