From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8C50C433E0 for ; Thu, 4 Mar 2021 20:57:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5131364F6F for ; Thu, 4 Mar 2021 20:57:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230131AbhCDU4z (ORCPT ); Thu, 4 Mar 2021 15:56:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:35508 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230035AbhCDU4a (ORCPT ); Thu, 4 Mar 2021 15:56:30 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 90C1C64F23; Thu, 4 Mar 2021 20:55:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614891349; bh=UPRgvSA47uEnBTvBb8Vj74Drida1Y5zo3ZSzKyWJ9Y4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=co95ogs7z6ntEo7zTvLIs/FdF5Sa/GhXhO5UYk+4Jj/d92bLk0zbXyKMMfURTwdAB Arzr4WR5PztUzTiKcD7HS3IG+ibk7AvNOLsyx/uV6AzAwn3Pe1z1rTQjGFx4M/Vzq+ jRD+HgfAEEXlKLsP/pTasnJWJYkMh2xNV3tP+frCm1v16fO5JwxwTQFzELAXGBVAve Ws8VZnuskuwm4N4FhgPgPsO5WQcVwChbvWTfe5q4KK6fZ/LCOLx9OddI/8Vxuww8gS wbzkULq9LfUdKkclpUKvE3RA2k7sM6p8kIEvibWomElHrS67CISWDd0dsNBt/WsdCn b+2CPtGoANc4w== Date: Thu, 4 Mar 2021 15:55:48 -0500 From: Sasha Levin To: Salvatore Bonaccorso Cc: stable , Greg Kroah-Hartman , Laurent Vivier , YunQiang Su , Helge Deller Subject: Re: Please apply commit 2347961b11d4 ("binfmt_misc: pass binfmt_misc flags to the interpreter") to 5.10.y and later Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, Mar 02, 2021 at 01:57:46PM +0100, Salvatore Bonaccorso wrote: >Hi > >2347961b11d4 ("binfmt_misc: pass binfmt_misc flags to the >interpreter") was applied in mainline and included in 5.12-rc1. > >Probably you could argue here on both a bugfix or feature addition. > >My intention is the following: In the Debian bugreport >https://bugs.debian.org/970460 an issue was raised with qemu-user >which needs to know if it has to preserve the argv[0]. As shown there >it is an issue with multi-call binaries. > >So again, not sure if you want to consider it, but defintively >Yunqiang Su and others would appreicate. If it gets backported we will >pick it up automatically. Given it needs changes in userspace too I'm not sure it qulifies as a fix per-se. Though as you point out, it's really borderline. Generally I would just take it, but it affects interactions with userspace, so I feel less comfortable with this. -- Thanks, Sasha