delorie.com/archives/browse.cgi | search |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |