- Return the first ancestor PID if root_name is not found. - Return the process' own PID if its own name is root_name.
The daemon and scheduler will need rpid to get the PID of the login process that they are both descended from in order to create a unique fifo in order to not conflict with other daemons and schedulers in other sessions.