Date: Fri, 29 Jun 2007 23:20:33 +0000 From: "Wojciech A. Koszek" <wkoszek@freebsd.org> To: Danny Braniss <danny@cs.huji.ac.il> Cc: freebsd-current@freebsd.org Subject: Re: INCLUDE_CONFIG_FILE off-by-one problem Message-ID: <20070629232032.GA70155@FreeBSD.czest.pl> In-Reply-To: <E1Hvpmy-0001hk-Az@cs1.cs.huji.ac.il> References: <E1Hvpmy-0001hk-Az@cs1.cs.huji.ac.il>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 06, 2007 at 10:18:40AM +0300, Danny Braniss wrote: > to get the config file from the kernel, one can use config -k, which > executes elfdump to get the offset and size. The size is actually 1(one) > byte too big, and so the output of config -k contains a NULL/0/^@ as > the last byte. I think the problem is in the elf file. Why do you think that the problem lies in the ELF file? Can you confirm that following sysctls: kern.geom.confxml kern.geom.conftxt don't suffer from the same problem? > btw, it would realy be nice if the sys/conf/NOTES file is updated. I can change NOTES soon. I have huge email lag. Thanks, -- Wojciech A. Koszek wkoszek@FreeBSD.org http://FreeBSD.czest.pl/dunstan/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070629232032.GA70155>