From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 30 14:08:05 2006 Return-Path: X-Original-To: hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3B4F16A400 for ; Sun, 30 Apr 2006 14:08:05 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1408543D48 for ; Sun, 30 Apr 2006 14:08:04 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.4) with ESMTP id k3UE831B073170 for ; Sun, 30 Apr 2006 18:08:03 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 30 Apr 2006 18:08:03 +0400 (MSD) From: Dmitry Morozovsky To: hackers@FreeBSD.org Message-ID: <20060430180103.W70630@woozle.rinet.ru> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Sun, 30 Apr 2006 18:08:04 +0400 (MSD) Cc: Subject: config(8), include, and INCLUDE_CONFIG_FILE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Apr 2006 14:08:05 -0000 Dear colleagues, Since "include" statement has been invented in config(8), option INCLUDE_CONFIG_FILE is broken, as it's embedding only highest level config file into the kernel. I looked through the sources, but it seems fixing this is not very easy. The most natural way for me seems tracking all config while lex/yacc parsing into memory buffer, as configfile() is invoked after full config parse. Any thoughts? Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------