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().
Summary
Description
Doc states:
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:
Also, since we do it for parent(), we should also do it for parents() and ppid().