Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ztdm: inhfd: handle child hanging #2251

Draft
wants to merge 1 commit into
base: criu-dev
Choose a base branch
from

Commits on Jan 9, 2024

  1. ztdm: inhfd: handle child hanging

    Let's kill the child when the test is hanging.  Due to PEP 475 the
    SIGALRM handler needs to throw an exception to be able to interrupt
    wait().  To improve debuggig, close the fd in the child after reading
    it and detect that in the parent to show whether the child hung
    part way.
    
    Signed-off-by: Michał Mirosław <emmir@google.com>
    osctobe committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    974f9cc View commit details
    Browse the repository at this point in the history