Files
linux-stable-mirror/include/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-01-25 14:37:54 -08:00
2024-02-23 08:41:51 +01:00
2024-07-05 09:12:55 +02:00
2023-12-20 15:44:30 +01:00
2024-06-21 14:53:19 +02:00
2024-06-21 14:53:46 +02:00
2023-10-25 11:54:20 +02:00
2024-06-21 14:53:28 +02:00
2023-11-20 11:06:46 +01:00
2023-06-21 15:45:38 +02:00
2024-04-13 12:58:31 +02:00
2024-06-21 14:53:36 +02:00
2024-01-25 14:37:40 -08:00
2023-11-28 16:54:53 +00:00
2023-10-25 11:54:13 +02:00
2023-10-25 11:54:13 +02:00
2024-07-05 09:12:55 +02:00
2023-05-17 11:48:09 +02:00
2024-02-23 08:41:51 +01:00