This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: Name aliasing in security.cc
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