void
  vfs_oexport_conv(const struct oexport_args *oexp, struct export_args *exp)
  {
bcopy(oexp, exp, sizeof(*oexp));
-       exp->ex_numsecflavors = 0;
+       if (exp->ex_flags & MNT_EXPORTED) {
+               exp->ex_numsecflavors = 1;
+               exp->ex_secflavors[0] = AUTH_SYS;

#include <rpc/rpc.h> will be needed for this.

This of course opens a new can of worms with regard to namespace pollution.

rpc/types.h and rpc/auth.h are sufficient, but that doesn't make the can much smaller.

Eric
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to