2 ms·
The kernel actually keeps track of this information in an internal "responsibility" field for each process. The private API to retrieve this information (which
by saagarjha 6y ago
The kernel actually keeps track of this information in an internal "responsibility" field for each process. The private API to retrieve this information (which Activity Monitor uses) is responsibility_get_pid_responsible_for_pid, exported from /usr/lib/system/libquarantine.dylib.