]> git.karo-electronics.de Git - karo-tx-linux.git/commit
coredump: factor out the setting of PF_DUMPCORE
authorOleg Nesterov <oleg@redhat.com>
Sun, 10 Mar 2013 10:55:17 +0000 (21:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 12 Mar 2013 03:57:29 +0000 (14:57 +1100)
commit8f1e871e103f37058e9745d4818f170a43204246
treea89ce7c7cebef8bec74e426a0df74eac6629387a
parent48d6e9d693b04b1c6896a036c8d0742e09eff996
coredump: factor out the setting of PF_DUMPCORE

Cleanup and preparation. 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>
Cc: Mandeep Singh Baines <msb@chromium.org>
Cc: Neil Horman <nhorman@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
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