Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com content-class: urn:content-classes:message Subject: egid and euid from outside a process MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Date: Sat, 9 Mar 2002 12:04:03 +1100 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: egid and euid from outside a process Thread-Index: AcHHBk43Z/P9LAcES9KSXMKs8fzrhg== From: "Robert Collins" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g29147828031 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