Many /proc/PID files do not return the appropriate errors for exited tasks.
Open
area: compatibility
exported
priority: p2
revived
type: cleanup
- Dominant language
- Go
- Stars
- 19.3k
- Forks
- 2k
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 264
Description
By "exited", I mean killed and waited on.
Many /proc/PID files aren't tested at all for zombied (killed but not waited on) or exited tasks, but should be. Not just to check for error values, but also because these files usually depend on Task state, which is often in a partially destroyed state for zombied and exited tasks. In the past, we've had proc files that would panic the sentry if read in this state.
Contributor guide
Assessment
This issue has not been assessed yet.