coresched: set cookie of PID PARENT_PID to PARENT_COOKIE