delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/03/08/20:04:08

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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
Date: Sat, 9 Mar 2002 12:04:03 +1100
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
Message-ID: <FC169E059D1A0442A04C40F86D9BA760014B7D@itdomain003.itdomain.net.au>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: egid and euid from outside a process
Thread-Index: AcHHBk43Z/P9LAcES9KSXMKs8fzrhg==
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <cygwin-developers AT cygwin DOT com>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019