Subject: Re: crcmp(), once again
To: YAMAMOTO Takashi <email@example.com>
From: Eric Haszlakiewicz <firstname.lastname@example.org>
Date: 11/17/2005 18:02:06
On Fri, Nov 18, 2005 at 08:02:53AM +0900, YAMAMOTO Takashi wrote:
> > >> - It is unclear why it is necessary at all.
> > >> http://mail-index.netbsd.org/tech-kern/2005/11/04/0005.html
> > >
> > >
> > > why unclear, while you know where it's used?
> > Because I don't know why the whole set of credentials needs to be
> > compared. Until now, no one has answered this question.
> read the code. :-)
> it checks if given credential is the same as existing one.
I spent a minute or two reading that code when I found when crcmp()
is used, and decided I didn't have the time to actually understand
what it is doing and WHY it checks if one credential is the same as
some other one, or WHERE those credentials come from.
If someone is kind enough to spend the time to understand that code
and explain it here (or happens to know the nfs code well enough) then
that would go a long way towards resolving this. Apparently noone feels
like doing that. eh, oh well.