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.
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to