This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
egid and euid from outside a process
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- To: <cygwin-developers at cygwin dot com>
- Date: Sat, 9 Mar 2002 12:04:03 +1100
- Subject: egid and euid from outside a process
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