INCLUDE_CONFIG_FILE off-by-one problem

Danny Braniss danny at
Wed Jun 6 07:18:42 UTC 2007

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.



More information about the freebsd-current mailing list