]> git.karo-electronics.de Git - karo-tx-linux.git/commit
coredump: pass siginfo_t* to do_coredump() and below, not merely signr
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 28 Sep 2012 00:22:15 +0000 (10:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 3 Oct 2012 06:50:59 +0000 (16:50 +1000)
commitf80e6ad268ce64b8b5ef2cf73eca1fecf07a0ad9
treee08b9cef47e14fdcf831440784ce9a7ca7c31fc3
parent03f588a523b147bddd258322db4a20dc4f54ea70
coredump: pass siginfo_t* to do_coredump() and below, not merely signr

This is a preparatory patch for the introduction of NT_SIGINFO elf note.

With this patch we pass "siginfo_t *siginfo" instead of "int signr" to
do_coredump() and put it into coredump_params.  It will be used by the
next patch.  Most changes are simple s/signr/siginfo->si_signo/.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Cc: Amerigo Wang <amwang@redhat.com>
Cc: "Jonathan M. Foote" <jmfoote@cert.org>
Cc: Roland McGrath <roland@hack.frob.com>
Cc: Pedro Alves <palves@redhat.com>
Cc: Fengguang Wu <fengguang.wu@intel.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/binfmt_aout.c
fs/binfmt_elf.c
fs/binfmt_elf_fdpic.c
fs/binfmt_flat.c
fs/coredump.c
include/linux/binfmts.h
include/linux/coredump.h
kernel/signal.c