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

PID reusage is not checked for different set methods #2290

Closed
giampaolo opened this issue Aug 3, 2023 · 0 comments · Fixed by #2291
Closed

PID reusage is not checked for different set methods #2290

giampaolo opened this issue Aug 3, 2023 · 0 comments · Fixed by #2291
Labels

Comments

@giampaolo
Copy link
Owner

Summary

  • Type: core

Description

Doc states:

process identity is preemptively checked (via PID + creation time) is for the following methods: nice() (set), ionice() (set), cpu_affinity() (set), rlimit() (set), children(), parent(), parents(), suspend() resume(), send_signal(), terminate() kill().

It turns out we're currently doing this only for "kill" methods (suspend() resume(), send_signal(), terminate() kill()) and children().
We're not doing it for set methods:

  • nice() (set)
  • ionice() (set)
  • cpu_affinity() (set)
  • rlimit() (set)
  • parent()

Also, since we do it for parent(), we should also do it for parents() and ppid().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant