This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Slowdown


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]