fs/binfmt_elf.c: extract elf_read() function
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 5 Dec 2019 00:52:25 +0000 (16:52 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 5 Dec 2019 03:44:13 +0000 (19:44 -0800)
commit658c033565118549a07f15927aa6939f481e4712
tree5d0f9fcd2bfda053fd4495e6c1c84eda7fc080ae
parent81696d5d544e665674b4f7a09e1304986fbbcbc6
fs/binfmt_elf.c: extract elf_read() function

ELF reads done by the kernel have very complicated error detection code
which better live in one place.

Link: http://lkml.kernel.org/r/20191005165215.GB26927@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/binfmt_elf.c