]> git.karo-electronics.de Git - karo-tx-linux.git/commit
coredump: factor out the setting of PF_DUMPCORE
authorOleg Nesterov <oleg@redhat.com>
Tue, 26 Mar 2013 23:25:54 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:19:16 +0000 (17:19 +1100)
commit4ec77a7f4038ea949d9f4b5668291f11319c7207
tree32256cb588f863d5836b6789d596344afe1b3f7f
parent5c47540369a1261ef8a498e51e7ea2a485bc0099
coredump: factor out the setting of PF_DUMPCORE

Cleanup.  Every linux_binfmt->core_dump() sets PF_DUMPCORE, move this into
zap_threads() called by do_coredump().

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Mandeep Singh Baines <msb@chromium.org>
Cc: Neil Horman <nhorman@redhat.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/ia32/ia32_aout.c
fs/binfmt_aout.c
fs/binfmt_elf.c
fs/binfmt_elf_fdpic.c
fs/coredump.c