Name aliasing in security.cc

Pierre A. Humblet Pierre.Humblet@ieee.org
Thu Jun 6 07:03:00 GMT 2002


Corinna Vinschen wrote:
> 
> On Wed, Jun 05, 2002 at 08:23:59PM -0400, Pierre A. Humblet wrote:
> > I saw the changes in grp.cc and passwd.cc where you make default
> > entries from the token. That's a good idea, very close to what I had
> > in mind for the "except" clause" in suggestion c) above.

Corinna,

Something came to my mind last night: the sid that your new code in
passwd.cc gets from the token should already be in user.sid (and 
user.orig_sid). Why not get it from there instead?

I also have a question: why does internal Cygwin code use 
strcasematch() instead of !strcasecmp()? I (ignorantly) used
strcasecmp() recently, it seems to work.

Pierre



More information about the Cygwin-patches mailing list