RFR: JDK-8310265: (process) jspawnhelper should not use argv[0]
Thomas Stuefe
stuefe at openjdk.org
Sat Jun 17 20:48:17 UTC 2023
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
-------------
Commit messages:
- JDK-8310265-jspawnhelper-argv0
Changes: https://git.openjdk.org/jdk/pull/14531/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14531&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8310265
Stats: 8 lines in 1 file changed: 4 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/14531.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14531/head:pull/14531
PR: https://git.openjdk.org/jdk/pull/14531
More information about the core-libs-dev
mailing list