Date: Tue, 29 Aug 2006 10:36:38 +0200 From: Jeremie Le Hen <jeremie@le-hen.org> To: Julian Elischer <julian@elischer.org> Cc: freebsd-net@FreeBSD.org, Doug Barton <dougb@FreeBSD.org> Subject: Re: [fbsd] Re: possible patch for implementing split DNS Message-ID: <20060829083638.GC15761@obiwan.tataz.chchile.org> In-Reply-To: <44F37994.8010808@elischer.org> References: <44EF6E18.6090905@elischer.org> <44F3429F.6050204@FreeBSD.org> <44F344FA.1000408@elischer.org> <20060828221218.GB93062@dwpc.dwlabs.ca> <44F370F2.7080406@elischer.org> <44F37386.4020702@FreeBSD.org> <44F37994.8010808@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 28, 2006 at 04:17:40PM -0700, Julian Elischer wrote: > It is intersting that people are suggesting tons of really complicated > solutions involving loading essoteric > softwere or setting up complicated virtual machines when listenning to a > simple environment variable > will do the trick.. For comparison, the nsswitch code in current ALREADY > listens to an environment variable > for an alternate name for /etc/nsswitch.conf.. > > i.e. nsdispatch.c: path = getenv("NSSWITCH_CONF"); The full context should have been pasted: % #if defined(_NSS_DEBUG) && defined(_NSS_SHOOT_FOOT) % /* NOTE WELL: THIS IS A SECURITY HOLE. This must only be built % * for debugging purposes and MUST NEVER be used in production. % */ % path = getenv("NSSWITCH_CONF"); % if (path == NULL) % #endif % path = _PATH_NS_CONF; -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060829083638.GC15761>