Subject: afs readdir
To: None <tech-kern@NetBSD.ORG>
From: None <rvb@sicily.odyssey.cs.cmu.edu>
List: tech-kern
Date: 06/13/1998 11:06:46
Could someone with access to the AFS source confirm this?  The
afs_readdir does not respect the value in "ncookies" and writes as
many cookie entries as it pleases.

In particular, the "linux program (wabi)" asks for 8k of
data in readdir, this causes the emulated linux readdir to
do VOP_READDIR with a 4k cookie buffer.  AFS writes 
8k worth of cookies and clobbers what comes after the cookie
buffer.  For what is worth the afs directory has about 1800
entries between 8 and 16 characters.