[PATCH] binfmt_elf: handle partial reads gracefully
Make sure kernel reads full size of elf data. Error out if mmap fails when mapping any sections of the executable. Make sure interpreter string is NULL terminated. Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing
Please register or sign in to comment