This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: Slowdown
- From: "Pierre A. Humblet" <Pierre dot Humblet at ieee dot org>
- To: cygwin-developers at cygwin dot com
- Date: Sat, 29 Jun 2002 19:12:27 -0400
- Subject: Re: Slowdown
- References: <3.0.5.32.20020627224059.0080d5b0@mail.attbi.com><3D1B4043.EF2CA37A@ieee.org><3D1B4043.EF2CA37A@ieee.org><3.0.5.32.20020627224059.0080d5b0@mail.attbi.com>
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