Skip to content

Small chance Process.children() may swallow AccessDenied on Linux #1274

Closed
@giampaolo

Description

Right now EPERM / AccessDenied exceptions are swallowed, meaning children() may return less results:

errno.EPERM, errno.EACCES):

This is highly unlikely as /proc/pid/stat should always be readable. Still, the code should raise the exception instead of ignoring it.

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions