From: Andrew Morton Date: Thu, 28 May 2015 22:44:24 +0000 (-0700) Subject: fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mappings X-Git-Tag: v3.2.70~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74b469cfb9b8eca325bb5822708fda9c6dc3626a;p=pandora-kernel.git fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mappings commit 2b1d3ae940acd11be44c6eced5873d47c2e00ffa upstream. load_elf_binary() returns `retval', not `error'. Fixes: a87938b2e246b81b4fb ("fs/binfmt_elf.c: fix bug in loading of PIE binaries") Reported-by: James Hogan Cc: Michael Davidson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed