Is there an api call (or other moethd) to get the effective gid and uid for a process foo from a second process? In cygserver when creating a new semaphore, I need to set fields based on these values, but I don't want to set these values on 'trust'. Rob