[OpenAFS-devel] Solaris libafs update

Jim Rees rees@umich.edu
Tue, 02 Jan 2007 10:21:17 -0500


Nothing in the kernel module (is that what you meant?) should be calling
suser().  Calls should be to afs_osi_suser(), which is in afs_osi.c and
calls afs_suser(), which is implemented in the systype-dependent source.

I haven't seen your patch, but it should call priv_policy from just one
place.  It could be a macro defined in SOLARIS/osi_machdep.h or a function.
The calls to suser() in SOLARIS/osi_vfsops.c should be changed to afs_suser.

In my opinion we don't need both afs_osi_suser and afs_suser.