You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is highly unlikely as /proc/pid/stat should always be readable. Still, the code should raise the exception instead of ignoring it.
The text was updated successfully, but these errors were encountered:
giampaolo
changed the title
Process.children() should raise on AccessDenied
Small chance Process.children() may swallow raise on AccessDenied
May 8, 2018
giampaolo
changed the title
Small chance Process.children() may swallow raise on AccessDenied
Small chance Process.children() may swallow AccessDenied
May 8, 2018
giampaolo
changed the title
Small chance Process.children() may swallow AccessDenied
Small chance Process.children() may swallow AccessDenied on Linux
May 8, 2018
Right now EPERM / AccessDenied exceptions are swallowed, meaning children() may return less results:
psutil/psutil/_pslinux.py
Line 1385 in bf79914
This is highly unlikely as /proc/pid/stat should always be readable. Still, the code should raise the exception instead of ignoring it.
The text was updated successfully, but these errors were encountered: