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

wait: implement waitid() #1584

Merged
merged 1 commit into from
Mar 10, 2022
Merged

wait: implement waitid() #1584

merged 1 commit into from
Mar 10, 2022

Commits on Mar 9, 2022

  1. wait: implement waitid()

    waitid() has a number of additional features that waitpid() is missing:
    
    - WNOWAIT is only accepted for waitid() on Linux (and possibly other
      platforms)
    - Support for waiting on PID file descriptors on Linux
    
    For now support is added for all platforms with waitid() that have proper
    siginfo_t support in libc. NetBSD support is currently a work in progress
    [1].
    
    Tests for the signal/exit code are currently skipped on MIPS platforms due
    to bugs in qemu-user's translation of siginfo_t (fixed in [2] and [3]; the
    second fix is not in a released qemu version yet).
    
    [1] rust-lang/libc#2476
    [2] https://lists.nongnu.org/archive/html/qemu-devel/2021-01/msg04810.html
    [3] https://lists.nongnu.org/archive/html/qemu-devel/2021-10/msg05433.html
    neocturne committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    df417e2 View commit details
    Browse the repository at this point in the history