]> git.baikalelectronics.ru Git - kernel.git/commit
new helper: read_code()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 14 Apr 2013 00:31:37 +0000 (20:31 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 29 Apr 2013 19:40:23 +0000 (15:40 -0400)
commit713c67614c9731795259e137a84301e505ae9d89
treed8374e58a433a144c571e193cb0b024374ee0b6a
parent585feaaa8214d2ea5f434fe215b18d6ca69a789e
new helper: read_code()

switch binfmts that use ->read() to that (and to kernel_read()
in several cases in binfmt_flat - sure, it's nommu, but still,
doing ->read() into kmalloc'ed buffer...)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/x86/ia32/ia32_aout.c
fs/binfmt_aout.c
fs/binfmt_elf_fdpic.c
fs/binfmt_flat.c
fs/exec.c
include/linux/binfmts.h