Re: [PATCH] binfmt_misc: pass binfmt_misc P flag to the interpreter

From: Laurent Vivier
Date: Wed Mar 11 2020 - 05:10:18 EST


Le 06/03/2020 Ã 09:09, YunQiang Su a ÃcritÂ:
> From: Laurent Vivier <laurent@xxxxxxxxx>
>
> 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 <laurent@xxxxxxxxx>
> Signed-off-by: YunQiang Su <syq@xxxxxxxxxx>
> ---

Any advice to have this merged?

Do I really need to use another AT_ entry?

Thanks,
Laurent