]> 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>
Fri, 5 Oct 2012 04:01:39 +0000 (14:01 +1000)
commitb334c1a5fed13a884e4f1c61f2fd456a6c3c7aef
treed8811a5c6dcc143f1ca9f00abe146b1eb7533e74
parent8459e55abff0a0653d5b14e218fcc469549aa6e5
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