HomeFreeBSD

Refactor core dumping code a bit

Description

Refactor core dumping code a bit

This makes it possible to use core_write(), core_output(),
and sbuf_drain_core_output(), in Linux coredump code. Moving
them out of imgact_elf.c is necessary because of the weird way
it's being built.

Reviewed By: kib
Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D30369

Details

Provenance
traszAuthored on May 22 2021, 8:58 AM
Reviewer
kib
Differential Revision
D30369: Refactor core dumping code a bit
Parents
rGffbb373c5a95: cxgbe(4): Fix build warnings with NOINET kernels.
Branches
Unknown
Tags
Unknown