[PATCH 3.2 104/164] fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mappings

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrew Morton commit 2b1d3ae940acd11be44c6eced5873d47c2e00ffa upstream. load_elf_binary() returns `retval', not `error'. Fixes: a87938b2e246b81b4fb ("fs/binfmt_elf.c: fix bug in loading of

[PATCH 3.2 104/164] fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mappings

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrew Morton a...@linux-foundation.org commit 2b1d3ae940acd11be44c6eced5873d47c2e00ffa upstream. load_elf_binary() returns `retval', not `error'. Fixes: a87938b2e246b81b4fb (fs/binfmt_elf.c: