The problem is that we don't know the PID of the attached process beforehand, so we need to keep an fd for a clean /proc open and then do open(/proc/self/attrc/current) and so on.
The problem is that we don't know the PID of the attached process self/attrc/ current) and so on.
beforehand, so we need to keep an fd for a clean /proc open and then
do open(/proc/