new helper: dump_emit()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 5 Oct 2013 19:32:35 +0000 (15:32 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 9 Nov 2013 05:16:22 +0000 (00:16 -0500)
commitecc8c7725e6c21528329b34acae2a1d64b3af89b
treeae1790c2ce0fe1c1f02e2bd0795b6636d65b4587
parent7d2f551f6dc933f87933e906e48583169bbc7c27
new helper: dump_emit()

dump_write() analog, takes core_dump_params instead of file,
keeps track of the amount written in cprm->written and checks for
cprm->limit.  Start using it in binfmt_elf.c...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/binfmt_elf.c
fs/coredump.c
include/linux/binfmts.h
include/linux/coredump.h