]> 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>
Thu, 21 Mar 2013 05:34:28 +0000 (16:34 +1100)
commit336676ed109b64fad22c7488ddf4800ecee7f4b4
tree685334a7581ecc057e09921f29de1cfe4e140319
parentd7cfd0dbede85a19ddc373fa3e17b5f012b8adab
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