diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-08 15:11:48 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-11-09 06:16:26 +0100 |
commit | 2507a4fbd48a96bc4236e584252635f8539079df (patch) | |
tree | d31719bcacb80dc5b3ccfa99c28e5a2c92602aa6 /fs/binfmt_elf_fdpic.c | |
parent | binfmt_elf: count notes towards coredump limit (diff) | |
download | linux-2507a4fbd48a96bc4236e584252635f8539079df.tar.xz linux-2507a4fbd48a96bc4236e584252635f8539079df.zip |
make dump_emit() use vfs_write() instead of banging at ->f_op->write directly
... and deal with short writes properly - the output might be to pipe, after
all; as it is, e.g. no-MMU case of elf_fdpic coredump can write a whole lot
more than a page worth of data at one call.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions