Revert "Revert "coredump: Snapshot the vmas in do_coredump""

This reverts commit ff1561ac7f.

It is no longer needed as we are able to update the abi at this point in
time.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I20acdca0aa5b59436e890887c03f125f027a9d45
This commit is contained in:
Greg Kroah-Hartman
2022-04-20 12:33:15 +02:00
committed by Todd Kjos
parent b3c54971ba
commit 23dd13c9f9
5 changed files with 39 additions and 46 deletions

View File

@@ -29,9 +29,6 @@ extern int dump_emit(struct coredump_params *cprm, const void *addr, int nr);
extern int dump_align(struct coredump_params *cprm, int align);
int dump_user_range(struct coredump_params *cprm, unsigned long start,
unsigned long len);
int dump_vma_snapshot(struct coredump_params *cprm, int *vma_count,
struct core_vma_metadata **vma_meta,
size_t *vma_data_size_ptr);
extern void do_coredump(const kernel_siginfo_t *siginfo);
#else
static inline void do_coredump(const kernel_siginfo_t *siginfo) {}