[crac] RFR: Force closing a "redirected to the file" standard io descriptor

Ilarion Nakonechnyy inakonechnyy at openjdk.org
Fri Jun 17 14:37:52 UTC 2022

CRIU restore fail after Checkpoint stdout to file.
Redirecting a stdout to the pipeline doesn't break the restore. 

A proposed approach forces the close of stdout, stdin, and stderr file descriptors if they are redirected to the files, on checkpoint resources verification.


Commit messages:
 - jchek corrections
 - corrections
 - corrections
 - Close stdin, stderr, stdout fd before checkpoint

Changes: https://git.openjdk.org/crac/pull/24/files
 Webrev: https://webrevs.openjdk.org/?repo=crac&pr=24&range=00
  Stats: 11 lines in 1 file changed: 11 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/crac/pull/24.diff
  Fetch: git fetch https://git.openjdk.org/crac pull/24/head:pull/24

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

More information about the crac-dev mailing list