]> git.itanic.dy.fi Git - linux-stable/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:24:17 +0000 (14:24 +0200)
commitcabd69640957f029b476bc2d74ebf24ac67da6bb
tree54f8f2ff6ea7aaf18630e9e19a97713eee113975
parent7ba958df64493aa8fb3af315db5095711a0b3589
coredump/elf: Pass coredump_params into fill_note_info

commit 9ec7d3230717b4fe9b6c7afeb4811909c23fa1d7 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/binfmt_elf.c