diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2015-05-29 00:44:24 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-05-29 03:25:18 +0200 |
commit | 2b1d3ae940acd11be44c6eced5873d47c2e00ffa (patch) | |
tree | dbf9ce6520a67e4277552ef1255581a7b76d139a /fs/fs-writeback.c | |
parent | tracing/mm: don't trace mm_page_pcpu_drain on offline cpus (diff) | |
download | linux-2b1d3ae940acd11be44c6eced5873d47c2e00ffa.tar.xz linux-2b1d3ae940acd11be44c6eced5873d47c2e00ffa.zip |
fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mappings
load_elf_binary() returns `retval', not `error'.
Fixes: a87938b2e246b81b4fb ("fs/binfmt_elf.c: fix bug in loading of PIE binaries")
Reported-by: James Hogan <james.hogan@imgtec.com>
Cc: Michael Davidson <md@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fs-writeback.c')
0 files changed, 0 insertions, 0 deletions