Files
linux-stable-mirror/include/uapi/linux
Laurent Vivier 7fd3a59268 binfmt_misc: pass binfmt_misc flags to the interpreter
commit 2347961b11 upstream.

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>
Cc: Thorsten Glaser <tg@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-04 13:17:42 +02:00
..
2024-06-21 14:53:46 +02:00
2023-11-08 17:30:43 +01:00
2023-06-21 15:45:38 +02:00
2021-03-30 14:31:53 +02:00
2023-09-19 12:20:18 +02:00
2021-09-12 08:58:27 +02:00