sys/nfsserver/nfs_srvkrpc.c doesn't build with KGSSAPI
Bjoern A. Zeeb
bzeeb-lists at lists.zabbadoz.net
Sat May 23 01:00:13 UTC 2009
On Fri, 22 May 2009, Rick Macklem wrote:
> I just noticed that sys/nfsserver/nfs_srvkrpc.c doesn't build when
> options KGSSAPI is specified.
>
> "hostname" is undefined
>
> This appears to be because it is now inside:
>
> #ifdef VIMAGE_GLOBALS
> ...
> #endif
> in sys/sys/kernel.h.
>
> I figured I'd let someone more familiar with what VIMAGE_GLOBALS is used
> for decide how best to fix this.
This is because you neither use G_hostname (always global as in base
system) or V_hostname (viertualized one; per network stack).
See sys/vimage.h and other usages in sys/ for how to properly handle
this.
/bz
--
Bjoern A. Zeeb The greatest risk is not taking one.
More information about the freebsd-current
mailing list