Integrated: JDK-8310265: (process) jspawnhelper should not use argv[0]
Thomas Stuefe
stuefe at openjdk.org
Wed Jun 21 04:59:20 UTC 2023
On Sat, 17 Jun 2023 18:24:54 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> Reported by [jarabekit at gmail.com](mailto:jarabekit at gmail.com) [1]
>
> jspawnhelper uses argv[0] to receive the fd string from the parent. That breaks with conventions and trips over certain tools like binfmt_misc.
>
> For details, see linked ML discussion.
>
> [1] https://mail.openjdk.org/pipermail/core-libs-dev/2023-June/107738.html
This pull request has now been integrated.
Changeset: 47d00a4c
Author: Thomas Stuefe <stuefe at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/47d00a4cbeff5d757dda9c660dfd2385c02a57d7
Stats: 10 lines in 2 files changed: 4 ins; 0 del; 6 mod
8310265: (process) jspawnhelper should not use argv[0]
Reviewed-by: simonis, rriggs
-------------
PR: https://git.openjdk.org/jdk/pull/14531
More information about the core-libs-dev
mailing list