Revert "Revert "coredump: Remove the WARN_ON in dump_vma_snapshot""
This reverts commit c31598eb0b.
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: Ia44bf70cb550e4840e3be1be7c8b2b0bea0a330e
This commit is contained in:
committed by
Todd Kjos
parent
23dd13c9f9
commit
8b0bc3fc2a
@@ -1151,12 +1151,6 @@ static bool dump_vma_snapshot(struct coredump_params *cprm)
|
||||
|
||||
mmap_write_unlock(mm);
|
||||
|
||||
if (WARN_ON(i != cprm->vma_count)) {
|
||||
kvfree(cprm->vma_meta);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
for (i = 0; i < cprm->vma_count; i++) {
|
||||
struct core_vma_metadata *m = cprm->vma_meta + i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user