OSDN Git Service

coredump/elf: Pass coredump_params into fill_note_info
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 31 Jan 2022 18:17:38 +0000 (12:17 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 8 Mar 2022 19:01:52 +0000 (13:01 -0600)
commit9ec7d3230717b4fe9b6c7afeb4811909c23fa1d7
tree67eca3549e314d9a8fae3ae4d79832fce4e6c0e9
parent49c1866348f364478a0c4d3dd13fd08bb82d3a5b
coredump/elf: Pass coredump_params into fill_note_info

Instead of individually passing cprm->siginfo and cprm->regs
into fill_note_info pass all of struct coredump_params.

This is preparation to allow fill_files_note to use the existing
vma snapshot.

Reviewed-by: Jann Horn <jannh@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/binfmt_elf.c