Re: INCLUDE_CONFIG_FILE off-by-one problem

From: Danny Braniss <danny_at_cs.huji.ac.il>
Date: Sat, 30 Jun 2007 09:00:13 +0300
> 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/^_at_ 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?
the size is wrongly reported.

> 
> Can you confirm that following sysctls:
> 
> 	kern.geom.confxml
> 	kern.geom.conftxt
> 
> don't suffer from the same problem?
they are both empty. (and yes, geom_label is loaded).
> 
> > btw, it would realy be nice if the sys/conf/NOTES file is updated.
> 
> I can change NOTES soon. I have huge email lag.
> 
fine, cheers

	danny
Received on Sat Jun 30 2007 - 04:00:15 UTC

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