diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2012-10-04 20:15:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 14:05:16 -0400 |
commit | 5ab1c309b344880d81494e9eab7fb27682bc6d9d (patch) | |
tree | 9509df6703c921d268db3b4b52c29992bcc24e35 /include/linux/binfmts.h | |
parent | 0f4cfb2e4e7a7e4e97a3e90e2ba1062f07fb2cb1 (diff) |
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/binfmts.h')
-rw-r--r-- | include/linux/binfmts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/binfmts.h b/include/linux/binfmts.h index c7b16ee71415..37935c2d2e8f 100644 --- a/include/linux/binfmts.h +++ b/include/linux/binfmts.h | |||
@@ -72,7 +72,7 @@ struct linux_binprm { | |||
72 | 72 | ||
73 | /* Function parameter for binfmt->coredump */ | 73 | /* Function parameter for binfmt->coredump */ |
74 | struct coredump_params { | 74 | struct coredump_params { |
75 | long signr; | 75 | siginfo_t *siginfo; |
76 | struct pt_regs *regs; | 76 | struct pt_regs *regs; |
77 | struct file *file; | 77 | struct file *file; |
78 | unsigned long limit; | 78 | unsigned long limit; |