summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-14 17:13:28 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-14 17:13:28 -0800
commitf4d3935e4f4884ba80561db5549394afb8eef8f7 (patch)
treec9bfd0dc1ffdfbcb7f34870eea4848240775e086 /fs/binfmt_elf.c
parent34241af77b8696120a9735bb2579ec7044199a8b (diff)
parentb9dc6f65bc5e232d1c05fe34b5daadc7e8bbf1fb (diff)
downloadlinux-f4d3935e4f4884ba80561db5549394afb8eef8f7.tar.gz
linux-f4d3935e4f4884ba80561db5549394afb8eef8f7.tar.bz2
linux-f4d3935e4f4884ba80561db5549394afb8eef8f7.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs fixes from Al Viro. The most notable fix here is probably the fix for a splice regression ("fix a fencepost error in pipe_advance()") noticed by Alan Wylie. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: fix a fencepost error in pipe_advance() coredump: Ensure proper size of sparse core files aio: fix lock dep warning tmpfs: clear S_ISGID when setting posix ACLs
Diffstat (limited to 'fs/binfmt_elf.c')
-rw-r--r--fs/binfmt_elf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c
index 29a02daf08a9..422370293cfd 100644
--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -2298,6 +2298,7 @@ static int elf_core_dump(struct coredump_params *cprm)
goto end_coredump;
}
}
+ dump_truncate(cprm);
if (!elf_core_write_extra_data(cprm))
goto end_coredump;