From: Vivek Goyal Date: Fri, 29 Sep 2006 09:01:45 +0000 (-0700) Subject: [PATCH] Kcore elf note namesz field fix X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=632dd2053a1146c826ceb6f26ab689389c05e751;hp=632dd2053a1146c826ceb6f26ab689389c05e751;p=deliverable%2Flinux.git [PATCH] Kcore elf note namesz field fix o As per ELF specifications, it looks like that elf note "namesz" field contains the length of "name" including the size of null character. And currently we are filling "namesz" without taking into the consideration the null character size. o Kexec-tools performs this check deligently hence I ran into the issue while trying to open /proc/kcore in kexec-tools for some info. Signed-off-by: Vivek Goyal Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ---