delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/06/29/19:15:42

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
Message-Id: <3.0.5.32.20020629191227.00811100@mail.attbi.com>
X-Sender: phumblet AT mail DOT attbi DOT com
Date: Sat, 29 Jun 2002 19:12:27 -0400
To: cygwin-developers AT cygwin DOT com
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
Subject: Re: Slowdown
In-Reply-To: <20020629031639.GA14536@redhat.com>
References: <3 DOT 0 DOT 5 DOT 32 DOT 20020627224059 DOT 0080d5b0 AT mail DOT attbi DOT com>
<3D1B4043 DOT EF2CA37A AT ieee DOT org>
<3D1B4043 DOT EF2CA37A AT ieee DOT org>
<3 DOT 0 DOT 5 DOT 32 DOT 20020627224059 DOT 0080d5b0 AT mail DOT attbi DOT com>
Mime-Version: 1.0

At 11:16 PM 6/28/2002 -0400, Christopher Faylor wrote:
>Btw, couldn't issetuid just be:
>
>  bool cygheap_user::issetuid () { return orig_uid != my->uid;}
>
>?
>
>This is what I just used in my recent changes to uinfo.cc.  It seems
>like it is one less test and is a little clearer what is going on.
>But I could be missing something.

Not all the time. A privileged user can get a new token just because 
its gid has changed. The previous issetuid () was also detecting that
condition. 

Cygwin builds and runs fine now. The problems with mounted directories on 
WinME appear to be fixed. I will look at your latest env changes later.

Pierre

- Raw text -


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