[crac] RFR: Force closing a "redirected to the file" standard io descriptor
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.
- jchek corrections
- Close stdin, stderr, stdout fd before checkpoint
Stats: 11 lines in 1 file changed: 11 ins; 0 del; 0 mod
Fetch: git fetch https://git.openjdk.org/crac pull/24/head:pull/24
More information about the crac-dev