From: Greg KH <gregkh@linuxfoundation.org>
To: YunQiang Su <syq@debian.org>
Cc: stable@vger.kernel.org
Subject: Re: backport binfmt_misc: pass binfmt_misc flags to the interpreter
Date: Thu, 4 Mar 2021 14:44:15 +0100 [thread overview]
Message-ID: <YEDkL87VdNM/BP6b@kroah.com> (raw)
In-Reply-To: <CAKcpw6Xo9ZsDFP40PH1h9zETwD8MFY=aZ7gDCqV4s4Ld9UVViw@mail.gmail.com>
On Tue, Mar 02, 2021 at 04:02:22PM +0800, YunQiang Su wrote:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.12-rc1&id=2347961b11d4079deace3c81dceed460c08a8fc1
> This patch can be apply to 5.10 and 5.11 directly.
>
> binfmt_misc: pass binfmt_misc flags to the interpreter
>
> 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.
>
> Note by Helge Deller:
> The real-world user of this patch is qemu-user, which needs to know if
> it has to preserve the argv[0]. See Debian bug #970460.
>
> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
> Reviewed-by: YunQiang Su <ysu@wavecomp.com>
> URL: http://bugs.debian.org/970460
> Signed-off-by: Helge Deller <deller@gmx.de>
This feels like a new feature, how does it fit with the stable kernel
rules?
thanks,
greg k-h
prev parent reply other threads:[~2021-03-04 13:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-02 8:02 backport binfmt_misc: pass binfmt_misc flags to the interpreter YunQiang Su
2021-03-04 13:44 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YEDkL87VdNM/BP6b@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=stable@vger.kernel.org \
--cc=syq@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox