diff options
author | Eric W. Biederman <[email protected]> | 2022-03-08 12:55:29 -0600 |
---|---|---|
committer | Eric W. Biederman <[email protected]> | 2022-03-08 12:55:29 -0600 |
commit | 95c5436a4883841588dae86fb0b9325f47ba5ad3 (patch) | |
tree | a6d8fa5165899d8c8cfd905784f1065e69249c21 /net/lapb/lapb_in.c | |
parent | a99a3e2efaf1f4454eb5c9176f47e66de075b134 (diff) |
coredump: Snapshot the vmas in do_coredump
Move the call of dump_vma_snapshot and kvfree(vma_meta) out of the
individual coredump routines into do_coredump itself. This makes
the code less error prone and easier to maintain.
Make the vma snapshot available to the coredump routines
in struct coredump_params. This makes it easier to
change and update what is captures in the vma snapshot
and will be needed for fixing fill_file_notes.
Reviewed-by: Jann Horn <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions