Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit d6c8b90d authored by Michal Hocko's avatar Michal Hocko Committed by Stephen Rothwell
Browse files

mm, elf: handle vm_brk error


load_elf_library doesn't handle vm_brk failure although nothing really
indicates it cannot do that because the function is allowed to fail due to
vm_mmap failures already.  This might be not a problem now but later patch
will make vm_brk killable (resp.  mmap_sem for write waiting will become
killable) and so the failure will be more probable.

Signed-off-by: default avatarMichal Hocko <mhocko@suse.com>
Acked-by: default avatarVlastimil Babka <vbabka@suse.cz>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 3cf10dbb
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment