RFR: JDK-8310265: (process) jspawnhelper should not use argv[0] [v3]

Roger Riggs rriggs at openjdk.org
Tue Jun 20 16:56:06 UTC 2023


On Tue, 20 Jun 2023 16:48:42 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
>
> Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:
> 
>   feedback Volker and Roger

looks good.

-------------

Marked as reviewed by rriggs (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14531#pullrequestreview-1488593752


More information about the core-libs-dev mailing list