On Thu, 31 Jul 2025 05:49:18 GMT, Guanqiang Han <g...@openjdk.org> wrote:

> Create a new function that marks all file descriptors found in /proc/self/fd 
> with the FD_CLOEXEC flag to ensure they are automatically closed upon 
> execution of a new program via exec().

This pull request has now been integrated.

Changeset: f95af744
Author:    Guanqiang Han <g...@openjdk.org>
Committer: Kevin Walls <kev...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/f95af744b07a9ec87e2507b3d584cbcddc827bbd
Stats:     65 lines in 1 file changed: 22 ins; 21 del; 22 mod

8364312: debug agent should set FD_CLOEXEC flag rather than explicitly closing 
every open file

Reviewed-by: cjplummer, kevinw

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

PR: https://git.openjdk.org/jdk/pull/26568

Reply via email to