svn commit: r361699 - head/sys/kern

Eric van Gyzen eric at vangyzen.net
Mon Jun 1 20:05:52 UTC 2020


>>   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


More information about the svn-src-head mailing list