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

psgo: handle ESRCH as ENOENT #155

Merged
merged 1 commit into from
May 8, 2024
Merged

Commits on May 7, 2024

  1. psgo: handle ESRCH as ENOENT

    for /proc/$PID/cmdline, the kernel could return ESRCH instead of
    ENOENT if the target process is terminated between the opening of the
    "cmdline" file and reading from it.
    
    Handle ESRCH in the same way as ENOENT when reading from the proc file
    system.
    
    Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
    giuseppe committed May 7, 2024
    Configuration menu
    Copy the full SHA
    9c5d887 View commit details
    Browse the repository at this point in the history