RFR: JDK-8310265: (process) jspawnhelper should not use argv[0] [v3]
Thomas Stuefe
stuefe at openjdk.org
Tue Jun 20 16:48:42 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
Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:
feedback Volker and Roger
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14531/files
- new: https://git.openjdk.org/jdk/pull/14531/files/1ee05c05..8f83fa27
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14531&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14531&range=01-02
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 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