[crac] RFR: Close extraneous file descriptors [v2]

Radim Vansa duke at openjdk.org
Fri Feb 24 11:56:21 UTC 2023


On Wed, 22 Feb 2023 16:53:59 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

>> Radim Vansa has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:
>> 
>>  - Remove unneeded check
>>  - Applied review suggestions
>>  - Close non-standard file descriptors on boot
>>    
>>    If the process is configured for Checkpoint and is started with open file descriptors (e.g. inherited from parent process), under some circumstances CRIU cannot properly execute the checkpoint. Prevent this be proactively closing file descriptors > 2 on boot.
>>    This behaviour can be overriden by settings -XX:CRIgnoreFileDescriptors to a comma-separated list of FD numbers or paths these file descriptors map to.
>
> Few minor comments

@AntonKozlov Updated!

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

PR: https://git.openjdk.org/crac/pull/45


More information about the crac-dev mailing list