Re: sys/nfsserver/nfs_srvkrpc.c doesn't build with KGSSAPI

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Sat, 23 May 2009 00:58:13 +0000 (UTC)
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.
Received on Fri May 22 2009 - 23:00:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:48 UTC