From: Magnus Damm Date: Thu, 7 Dec 2006 04:38:00 +0000 (-0800) Subject: [PATCH] elf: fix kcore note size calculation X-Git-Tag: v2.6.20-rc1~145^2^2~144 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=360276042d7a8369ce912acff99c1c4de394b312;p=pandora-kernel.git [PATCH] elf: fix kcore note size calculation - Define "CORE" string as CORE_STR in single common place. - Include terminating zero in CORE_STR length calculation for elf_buflen. - Use roundup(,4) to include alignment in elf_buflen calculation. [akpm@osdl.org: simplification suggested by Roland] Signed-off-by: Magnus Damm Cc: Daniel Jacobowitz Cc: Roland McGrath Cc: Jakub Jelinek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed