Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp344543ybh; Wed, 11 Mar 2020 02:11:02 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuaUP3dLt5vKfiBqsrQHkstddY1sfznbfyfshoBgZK3ZK2o0gN5f3/lROFsoOFi88EQyM+9 X-Received: by 2002:a9d:d36:: with SMTP id 51mr1564432oti.308.1583917862123; Wed, 11 Mar 2020 02:11:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583917862; cv=none; d=google.com; s=arc-20160816; b=cJSOgP9GZU4ah0NrqtpqJsueFIf4xSXyszAhVw614JEy7yKnQuI9lRMAvTm0tUz27W Nql1ayf/TcStflFz2hlwRajAsWgdN92Mcyk/yfSRx+yw+f8D/aKa1B9l05MQhP6qsdjx MdwzYEcH1Myq5eEXphqj3q3Ir7p1H2tI+CM5sE5obA5UwYIwPUMsRxgKSEWnWJKZN3bA jC3eIWMD9Dzt9eeNBvlxap1utc61Yg2XYPReSrXtXXt7rKM6wi5pQ5HQW//4rd8Uye7r qPXtc4kmaKJbdIAH+2TvMJykLcsYowtMO17WUlGyMGNpTlUXw+u/oV6uQjzdVzo5QOp0 kgDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject; bh=TciCb85Pf8KXvx/qpiXeL88ylOoOX44nA2XvSQrEQak=; b=DueJ0o+wgE9Eza7+OjfMbLknKUuHqy8O22JPBWGpBzaRPKOUn6G2tbkvP83LcDX+83 BuQSCzzuBwDaqSbxnzqAiZqvqKyiaix2DcDX6S3SCrUbShJxr4dRaZcYVD9AaUGoKxP1 Irul3pVXrLKKqOujElxvML1iuxou8s0gDBsCc/PIgT05qYijr1upmU20oa2HTrrCraHu DlUd8cuvLzP2FspW7HzrdIWdEiHxMMrCxGqBnvduD7xop2RbFxq5riV4f4zIchRqJqU5 SucInDbu492uvsoTYIsvve/BY+tdU+T4jmnKOdL6XakujuyIO42nMdnDfwr8Kg4SevlV vy1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x7si739123oie.189.2020.03.11.02.10.51; Wed, 11 Mar 2020 02:11:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728877AbgCKJKR (ORCPT + 99 others); Wed, 11 Mar 2020 05:10:17 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:57991 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726934AbgCKJKR (ORCPT ); Wed, 11 Mar 2020 05:10:17 -0400 Received: from [192.168.100.1] ([82.252.135.106]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.103]) with ESMTPSA (Nemesis) id 1Mtf39-1jTCoN43Bv-00v4sP; Wed, 11 Mar 2020 10:09:57 +0100 Subject: Re: [PATCH] binfmt_misc: pass binfmt_misc P flag to the interpreter To: YunQiang Su , torvalds@linux-foundation.org, gregkh@linuxfoundation.org, akpm@linux-foundation.org, viro@zeniv.linux.org.uk, James.Bottomley@hansenpartnership.com Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, libc-alpha@sourceware.org References: <20200306080905.173466-1-syq@debian.org> From: Laurent Vivier Autocrypt: addr=laurent@vivier.eu;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eKfMX40XMegzlXCrqtzUk+N 8LeipEsnOoAQcEONAWWo1HcgUIgCjhJhBEF0AcELOQzitbJGG5UAEQEAAYkCHwQYAQIACQUC VgUmGQIbDAAKCRDzDDi9Py++PCD3D/9VCtydWDdOyMTJvEMRQGbx0GacqpydMEWbE3kUW0ha US5jz5gyJZHKR3wuf1En/3z+CEAEfP1M3xNGjZvpaKZXrgWaVWfXtGLoWAVTfE231NMQKGoB w2Dzx5ivIqxikXB6AanBSVpRpoaHWb06tPNxDL6SVV9lZpUn03DSR6gZEZvyPheNWkvz7bE6 FcqszV/PNvwm0C5Ju7NlJA8PBAQjkIorGnvN/vonbVh5GsRbhYPOc/JVwNNr63P76rZL8Gk/ hb3xtcIEi5CCzab45+URG/lzc6OV2nTj9Lg0SNcRhFZ2ILE3txrmI+aXmAu26+EkxLLfqCVT ohb2SffQha5KgGlOSBXustQSGH0yzzZVZb+HZPEvx6d/HjQ+t9sO1bCpEgPdZjyMuuMp9N1H ctbwGdQM2Qb5zgXO+8ZSzwC+6rHHIdtcB8PH2j+Nd88dVGYlWFKZ36ELeZxD7iJflsE8E8yg OpKgu3nD0ahBDqANU/ZmNNarBJEwvM2vfusmNnWm3QMIwxNuJghRyuFfx694Im1js0ZY3LEU JGSHFG4ZynA+ZFUPA6Xf0wHeJOxGKCGIyeKORsteIqgnkINW9fnKJw2pgk8qHkwVc3Vu+wGS ZiJK0xFusPQehjWTHn9WjMG1zvQ5TQQHxau/2FkP45+nRPco6vVFQe8JmgtRF8WFJA== Message-ID: <5546ac4d-b9d1-336e-3861-b1f37e1d059c@vivier.eu> Date: Wed, 11 Mar 2020 10:09:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200306080905.173466-1-syq@debian.org> Content-Type: text/plain; charset=utf-8 Content-Language: fr Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:lAozgkA//WI+gNeI7GeQ1J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UbPJeXdgiUDr4pMpNqeypATzn1hA12VZnwZYy9Q1EHVwiMEtC1+Si7Mheqyve9tsF0+7e5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 06/03/2020 à 09:09, YunQiang Su a écrit : > From: Laurent Vivier > > It can be useful to the interpreter to know which flags are in use. > > For instance, knowing if the preserve-argv[0] is in use would > allow to skip the pathname argument. > > This patch uses an unused auxiliary vector, AT_FLAGS, to add a > flag to inform interpreter if the preserve-argv[0] is enabled. > > Signed-off-by: Laurent Vivier > Signed-off-by: YunQiang Su > --- Any advice to have this merged? Do I really need to use another AT_ entry? Thanks, Laurent