Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 May 2009 00:58:13 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        freebsd-current@freebsd.org
Subject:   Re: sys/nfsserver/nfs_srvkrpc.c doesn't build with KGSSAPI
Message-ID:  <20090523005657.W72053@maildrop.int.zabbadoz.net>
In-Reply-To: <Pine.GSO.4.63.0905222047220.5285@muncher.cs.uoguelph.ca>
References:  <Pine.GSO.4.63.0905222047220.5285@muncher.cs.uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090523005657.W72053>