Date: Mon, 1 Jun 2020 15:05:43 -0500 From: Eric van Gyzen <eric@vangyzen.net> To: Cy Schubert <Cy.Schubert@cschubert.com>, Ryan Moeller <freqlabs@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r361699 - head/sys/kern Message-ID: <6597389d-85a9-4661-77d2-bd81632ee197@vangyzen.net> In-Reply-To: <202006012003.051K36sR039220@slippy.cwsent.com> References: <202006011843.051IhpMM085854@repo.freebsd.org> <202006012003.051K36sR039220@slippy.cwsent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6597389d-85a9-4661-77d2-bd81632ee197>