Date: Wed, 06 Jun 2007 10:18:40 +0300 From: Danny Braniss <danny@cs.huji.ac.il> To: freebsd-current@FreeBSD.org Subject: INCLUDE_CONFIG_FILE off-by-one problem Message-ID: <E1Hvpmy-0001hk-Az@cs1.cs.huji.ac.il>
next in thread | raw e-mail | index | archive | help
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. btw, it would realy be nice if the sys/conf/NOTES file is updated. danny
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Hvpmy-0001hk-Az>