]> git.karo-electronics.de Git - karo-tx-linux.git/commit
coredump: factor out the setting of PF_DUMPCORE
authorOleg Nesterov <oleg@redhat.com>
Wed, 20 Mar 2013 04:08:31 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Mar 2013 04:23:26 +0000 (15:23 +1100)
commitd3d4c6d5387801479dfbf80785ce045ed2406b8a
treef7b406e5712e536448ec959fc0ad1cfaf9d8400d
parent4a36bba5e290168833eb8101d9adb366919b16e8
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